From 41b32cd2c4706fa280fc779d5dec132ee9edf0f6 Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Fri, 5 May 2023 17:34:05 +0200 Subject: Add TRY_RUN to host tools On Windows, we will try to run our host tools after a successful build. If the build fails because of a missing DLL, we will be able to throw an error with some direction on what might be the cause, and how to resolve it. Pick-to: 6.5 6.6 Fixes: QTBUG-113273 Change-Id: Iba548829bc41fbee95cef288faaf7edca118ee33 Reviewed-by: Alexandru Croitor --- src/tools/cmake_automoc_parser/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/cmake_automoc_parser') diff --git a/src/tools/cmake_automoc_parser/CMakeLists.txt b/src/tools/cmake_automoc_parser/CMakeLists.txt index a58c9c9ff1..e0ce0e65d1 100644 --- a/src/tools/cmake_automoc_parser/CMakeLists.txt +++ b/src/tools/cmake_automoc_parser/CMakeLists.txt @@ -7,6 +7,7 @@ qt_get_tool_target_name(target_name cmake_automoc_parser) qt_internal_add_tool(${target_name} + TRY_RUN CORE_LIBRARY Bootstrap TARGET_DESCRIPTION "Qt CMake AUTOMOC Parser" INSTALL_DIR "${INSTALL_LIBEXECDIR}" -- cgit v1.2.3