qt5base-lts/src/tools
Joerg Bornemann a0e56294c1 Skip unnecessary commands when cross-building tools
Introduce a new macro qt_internal_return_unless_building_tools which
simply calls return() if tools are not built.  This macro is supposed to
be called after qt_internal_add_tool().

Using this macro avoids having to special-case code for when
qt_internal_add_tool() creates imported targets in cross-builds.

Adjust pro2cmake accordingly.

Task-number: QTBUG-85084
Change-Id: I9e1c455c29535dd8c318efa890ebd739c42effc1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2021-09-27 16:34:23 +02:00
..
androiddeployqt Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
androidtestrunner Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
bootstrap Avoid to call _qt_internal_set_up_static_runtime_library() twice 2021-08-03 04:18:42 +08:00
cmake_automoc_parser Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
moc Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
qdbuscpp2xml Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
qdbusxml2cpp Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
qlalr Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
qtpaths Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
qvkgen Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
rcc Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
shared Let androiddeployqt write a dependency file 2021-07-08 17:30:20 +02:00
tracegen Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
uic Skip unnecessary commands when cross-building tools 2021-09-27 16:34:23 +02:00
CMakeLists.txt Fix build without features.systemsemaphore 2021-04-14 16:24:33 +09:00