Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Using YAML to Configure a CMake Build

Updated on 2023-12-06 GMT+08:00
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
version: 2.0 # The value must be 2.0.
steps:
  BUILD:
    - cmake:
        inputs:
            command: |
                # Create the build directory and switch to the build directory.
                mkdir build && cd build 
                # Generate makefiles for the Unix platform and perform the build.
                cmake -G 'Unix Makefiles' ../ && make -j
 

Parameter

Type

Description

Mandatory

Default Value

command

string

Execute commands.

Yes

None

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback