我要评分
获取效率
正确性
完整性
易理解

Project Settings

To configure compilation and debug parameters, perform the operations described in this section.

Prerequisites

  • You have logged in to the Kunpeng DevKit.
  • You have installed the Compiler and Debugger.

Procedure

  1. In the upper right corner of the window, choose > Project Settings, or click in the Compiler and Debugger area on the left. The Project Settings page is displayed.

    Click Compile. The Compile configuration page is displayed, as shown in Figure 1. Choose a compilation type, set the configuration items, and click Save. The tasks.json file is automatically generated in the .vscode folder of the current project, and the configuration is saved.

    Figure 1 Setting compilation parameters

    Optional compilation types: Common compilation and AutoFDO compilation

  2. Click Run/Debug. The configuration page is displayed, as shown in Figure 2. Select an application type and set the configuration items, and then click Save. The launch.json file is automatically generated in the .vscode folder of the current project, and the configuration is saved.
    Figure 2 Set Run/Debug

    The application type can be General application, Parallel HPC application, CUDA application, or Security application.