Debian Codegraph @

coin/instructions/cmake_build_standalone_examples.yaml

raw
1 type: Group
2 instructions:
3 - type: ChangeDirectory
4 directory: "{{.SourceDir}}"
5 - type: MakeDirectory
6 directory: "{{.SourceDir}}_standalone_examples"
7 - type: SetBuildDirectory
8 directory: "{{.SourceDir}}_standalone_examples"
9 - type: ChangeDirectory
10 directory: "{{.BuildDir}}"
11 - type: AppendToEnvironmentVariable
12 variableName: COIN_CMAKE_ARGS
13 variableValue: " -S {{.SourceDir}} -B ."
14 disable_if:
15 condition: runtime
16 env_var: COIN_CMAKE_ARGS
17 equals_value: null
18 - type: EnvironmentVariable
19 variableName: COIN_CMAKE_ARGS
20 variableValue: "-S {{.SourceDir}} -B ."
21 enable_if:
22 condition: runtime
23 env_var: COIN_CMAKE_ARGS
24 equals_value: null
25
26 - !include "{{qt/qtbase}}/call_cmake_for_standalone_examples.yaml"
27 - type: ExecuteCommand
28 command: "{{.Env.EXAMPLES_ENV_PREFIX}} cmake --build . --parallel -v"
29 maxTimeInSeconds: 6000
30 maxTimeBetweenOutput: 4800
31 userMessageOnFailure: >
32 Failed to build examples.