summaryrefslogtreecommitdiffstats
path: root/cmake/QtExecutableHelpers.cmake
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2022-08-24 09:33:26 +0200
committerMikolaj Boc <mikolaj.boc@qt.io>2022-08-31 16:53:52 +0200
commit619cb795b28192b8bc8551ddc0a784db43e918f1 (patch)
tree53ac1f0e5f27b92ddb6165c8beea43caa4b31cde /cmake/QtExecutableHelpers.cmake
parentcd4a3a1dc7b502b15d3483cbf81ce0bdd478b2df (diff)
Plug the WASM batched test runner into the build system
The new batched test runner is now used for running the tests instead of the wasm shell, which runs for single test cases. Change-Id: I7b7e6dd7993ba7937124c5843356b6891301b893 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtExecutableHelpers.cmake')
-rw-r--r--cmake/QtExecutableHelpers.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/QtExecutableHelpers.cmake b/cmake/QtExecutableHelpers.cmake
index 704fc860eb..ee5e7a1f16 100644
--- a/cmake/QtExecutableHelpers.cmake
+++ b/cmake/QtExecutableHelpers.cmake
@@ -39,11 +39,6 @@ function(qt_internal_add_executable name)
PROPERTY EXCLUDE_FROM_ALL "$<NOT:$<CONFIG:${QT_MULTI_CONFIG_FIRST_CONFIG}>>")
endif()
- if(WASM)
- qt_internal_wasm_add_finalizers("${name}")
- _qt_internal_wasm_add_target_helpers("${name}")
- endif()
-
if (arg_VERSION)
if(arg_VERSION MATCHES "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+")
# nothing to do
@@ -143,6 +138,11 @@ function(qt_internal_add_executable name)
qt_internal_set_exceptions_flags("${name}" ${arg_EXCEPTIONS})
+ if(WASM)
+ qt_internal_wasm_add_finalizers("${name}")
+ _qt_internal_wasm_add_target_helpers("${name}")
+ endif()
+
# Check if target needs to be excluded from all target. Also affects qt_install.
# Set by qt_exclude_tool_directories_from_default_target.
set(exclude_from_all FALSE)