summaryrefslogtreecommitdiffstats
path: root/cmake/QtBaseGlobalTargets.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2022-03-23 16:49:52 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2022-04-04 15:41:20 +0200
commit2061cea0f38e1eaae26fca1a04fdf6d9473a47d0 (patch)
tree6f3c84983decc8b2fd1a44feb0a13a7e0d0041a5 /cmake/QtBaseGlobalTargets.cmake
parenta42e7839b27c9fc29fc0b37c342c8c489d445219 (diff)
CMake: Pass -v to ninja when using ctest --build-and-test
So we can see the command line invocations of the built cmake auto tests. To achieve that, we create a ninja shell script wrapper, because ctest --build-and-test does not currently allow specifying custom build tool options. Details at https://gitlab.kitware.com/cmake/cmake/-/issues/22443 Pick-to: 6.2 6.3 Change-Id: I7fb3b7f7f802943a7013c859b2cf39842a34e2e4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtBaseGlobalTargets.cmake')
-rw-r--r--cmake/QtBaseGlobalTargets.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/QtBaseGlobalTargets.cmake b/cmake/QtBaseGlobalTargets.cmake
index 79fabc6b5f..c20066204d 100644
--- a/cmake/QtBaseGlobalTargets.cmake
+++ b/cmake/QtBaseGlobalTargets.cmake
@@ -296,10 +296,12 @@ qt_copy_or_install(DIRECTORY
DESTINATION "${__GlobalConfig_install_dir}/config.tests"
)
-# Install qt-internal-strip files.
+# Install qt-internal-strip and qt-internal-ninja files.
set(__qt_internal_strip_wrappers
libexec/qt-internal-strip.in
libexec/qt-internal-strip.bat.in
+ libexec/qt-internal-ninja.in
+ libexec/qt-internal-ninja.bat.in
)
qt_copy_or_install(PROGRAMS
${__qt_internal_strip_wrappers}