716e41e86f
In qmake builds we can see the moc invocations, whereas in CMake builds by default we don't. Modify the Coin instructions to pass the CMAKE_AUTOGEN_VERBOSE cache variable so that AUTOMOC prints the moc invocations. Change-Id: I50be13224839fbbdece3c9e8a4935a72aba91a8e Reviewed-by: Cristian Adam <cristian.adam@qt.io>
76 lines
2.9 KiB
YAML
76 lines
2.9 KiB
YAML
type: Group
|
|
instructions:
|
|
- type: MakeDirectory
|
|
directory: .git
|
|
- type: MakeDirectory
|
|
directory: build
|
|
- type: ChangeDirectory
|
|
directory: "{{.BuildDir}}/build"
|
|
- type: MakeDirectory
|
|
directory: target
|
|
- type: Group
|
|
instructions:
|
|
- type: MakeDirectory
|
|
directory: host
|
|
- type: SetBuildDirectory
|
|
directory: "{{.SourceDir}}/build/host"
|
|
- type: ChangeDirectory
|
|
directory: "{{.BuildDir}}"
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_CMAKE_ARGS
|
|
# The lack of space between the non qtbase configure args and the rest of the args is important!
|
|
variableValue: "{{.Env.NON_QTBASE_CONFIGURE_ARGS}} -DBUILD_TESTING=OFF -DCMAKE_AUTOGEN_VERBOSE=ON {{.SourceDir}}"
|
|
- !include "{{qt/qtbase}}/call_host_cmake.yaml"
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.ENV_PREFIX}} cmake --build . --parallel -v"
|
|
maxTimeInSeconds: 6000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: >
|
|
Failed to build sources. In the current state bug can be everywhere.
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_CMAKE_INSTALL_SCRIPT_PATH
|
|
variableValue: "{{.InstallDir}}/host"
|
|
- !include "{{qt/qtbase}}/call_host_install.yaml"
|
|
- type: EnvironmentVariable
|
|
variableName: DESTDIR
|
|
variableValue: "{{.InstallRoot}}"
|
|
- !include "{{qt/qtbase}}/call_host_install.yaml"
|
|
enable_if:
|
|
condition: property
|
|
property: platformDependency
|
|
equals_value: null
|
|
- type: EnvironmentVariable
|
|
variableName: DESTDIR
|
|
variableValue: ""
|
|
- type: SetBuildDirectory
|
|
directory: "{{.SourceDir}}/build/target"
|
|
- type: ChangeDirectory
|
|
directory: "{{.BuildDir}}"
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_CMAKE_ARGS
|
|
# The lack of space between the non qtbase configure args and the rest of the args is important!
|
|
variableValue: "{{.Env.NON_QTBASE_TARGET_CONFIGURE_ARGS}} -DBUILD_TESTING=OFF -DCMAKE_AUTOGEN_VERBOSE=ON {{.SourceDir}}"
|
|
- !include "{{qt/qtbase}}/call_target_cmake.yaml"
|
|
- type: ExecuteCommand
|
|
command: "{{.Env.TARGET_ENV_PREFIX}} cmake --build . --parallel -v"
|
|
maxTimeInSeconds: 6000
|
|
maxTimeBetweenOutput: 1200
|
|
userMessageOnFailure: >
|
|
Failed to build sources. In the current state bug can be everywhere.
|
|
- type: EnvironmentVariable
|
|
variableName: COIN_CMAKE_INSTALL_SCRIPT_PATH
|
|
variableValue: "{{.InstallDir}}/target"
|
|
- !include "{{qt/qtbase}}/call_target_install.yaml"
|
|
- type: EnvironmentVariable
|
|
variableName: DESTDIR
|
|
variableValue: "{{.InstallRoot}}"
|
|
- !include "{{qt/qtbase}}/call_target_install.yaml"
|
|
- type: EnvironmentVariable
|
|
variableName: DESTDIR
|
|
variableValue: ""
|
|
- type: UploadArtifact
|
|
archiveDirectory: "{{.InstallRoot}}/{{.AgentWorkingDir}}"
|
|
transferType: UploadModuleBuildArtifact
|
|
maxTimeInSeconds: 1200
|
|
maxTimeBetweenOutput: 1200
|