Rate This Document
Findability
Accuracy
Completeness
Readability

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 compilation page is displayed, as shown in Figure 1. Select a compilation type, set the other parameters, and click Save. A 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 compilation page is displayed, as shown in Figure 2. Select a run/debug type, set the other parameters, and click Save. A 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.