summaryrefslogtreecommitdiffstats
path: root/coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2022-10-17 15:50:18 +0200
committerAmir Masoud Abdol <amir.abdol@qt.io>2022-12-05 18:02:59 +0000
commitd77ce33082516234fd7bbb5335401a1f3af8ca27 (patch)
treeb0d3247a9c14763d857adeba58d88a5f97152314 /coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml
parent3b0ef746942d9c0d44d418020849cecfa480a19d (diff)
Move Some of the Private CMake Helper Scripts from `bin/` to `libexec/`
After this change, private CMake scripts are mostly live in `libexec/`, except the `qt-cmake` which will stay in `bin/`. This doesn't affect the Windows configuration. - `qt-cmake` stays in `bin/` - `qt-configure-module` moves into `libexec/` - `qt-cmake-private` moves into `libexec/` - `qt-cmake-private-install.cmake` moves into `libexec/` - `qt-cmake-standalone-test` moves into `libexec/` - `qt-internal-configure-test` moves into `libexec/` In cases where `QT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS` is set to ON, e.g., ANDROID, WASM, both Batch and Bash files will be generated and placed in `bin/` and `libexec/` accordingly; in both cases, qt-cmake and qt-cmake.bat will be in `bin/` anyway. [ChangeLog][CMake] The private Qt CMake scripts, i.e., qt-configure-module, qt-cmake-private, qt-cmake-private-install.cmake, qt-cmake-standalone-test and qt-internal-configure-test were moved into $prefix/libexec on Unix platforms. Fixes: QTBUG-107621 Change-Id: Ic4f4ec85f64d2ede0e208bca928959e30be906a6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml')
-rw-r--r--coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml52
1 files changed, 50 insertions, 2 deletions
diff --git a/coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml b/coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml
index 9850f3c60a..4a1ed61328 100644
--- a/coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml
+++ b/coin/instructions/cmake_cross_compilation_qtbase_build_instructions.yaml
@@ -36,8 +36,32 @@ instructions:
userMessageOnFailure: >
Failed to build sources.
- type: EnvironmentVariable
- variableName: COIN_CMAKE_INSTALL_SCRIPT_PATH
+ variableName: COIN_CMAKE_BUILD_DIR
variableValue: "{{.BuildDir}}"
+ - type: EnvironmentVariable
+ variableName: COIN_CMAKE_BUILD_LIBEXEC_DIR
+ variableValue: "{{.BuildDir}}{{.Env.CI_PATH_SEP}}libexec"
+ disable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ equals_value: Windows
+ - condition: property
+ property: target.osVersion
+ not_in_values: [WebAssembly, Android_ANY]
+ - type: EnvironmentVariable
+ variableName: COIN_CMAKE_BUILD_LIBEXEC_DIR
+ variableValue: "{{.BuildDir}}{{.Env.CI_PATH_SEP}}bin"
+ enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ equals_value: Windows
+ - condition: property
+ property: target.osVersion
+ not_in_values: [WebAssembly, Android_ANY]
- !include "{{qt/qtbase}}/call_host_install.yaml"
- type: EnvironmentVariable
variableName: DESTDIR
@@ -89,8 +113,32 @@ instructions:
userMessageOnFailure: >
Failed to build sources.
- type: EnvironmentVariable
- variableName: COIN_CMAKE_INSTALL_SCRIPT_PATH
+ variableName: COIN_CMAKE_BUILD_DIR
variableValue: "{{.BuildDir}}"
+ - type: EnvironmentVariable
+ variableName: COIN_CMAKE_BUILD_LIBEXEC_DIR
+ variableValue: "{{.Env.COIN_CMAKE_BUILD_DIR}}{{.Env.CI_PATH_SEP}}libexec"
+ disable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ equals_value: Windows
+ - condition: property
+ property: target.osVersion
+ not_in_values: [WebAssembly, Android_ANY]
+ - type: EnvironmentVariable
+ variableName: COIN_CMAKE_BUILD_LIBEXEC_DIR
+ variableValue: "{{.Env.COIN_CMAKE_BUILD_DIR}}{{.Env.CI_PATH_SEP}}bin"
+ enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: host.os
+ equals_value: Windows
+ - condition: property
+ property: target.osVersion
+ not_in_values: [WebAssembly, Android_ANY]
- !include "{{qt/qtbase}}/call_target_install.yaml"
- type: EnvironmentVariable
variableName: DESTDIR