summaryrefslogtreecommitdiffstats
path: root/tests/auto/proxy_multiprocess
diff options
context:
space:
mode:
authorAlexandru Croitor <[email protected]>2025-06-03 15:50:38 +0200
committerAlexandru Croitor <[email protected]>2025-06-04 10:43:02 +0200
commit2aca1b0e9aa4220241512f3a22d175a8277c1365 (patch)
treea22b544c97e88d5f07e075ef46a5b43bccca418c /tests/auto/proxy_multiprocess
parent37a489062d2e87e9456eb9759afb7689c8ed56f6 (diff)
CMake: Make qtremoteobjects tests standalone projectsHEADdev
Add the boilerplate standalone test prelude to each test, so that they can be opened with an IDE without the qt-cmake-standalone-test script, but directly with qt-cmake or cmake. Boilerplate was added using the following scripts: https://git.qt.io/alcroito/cmake_refactor Manual adjustments were made where the code was inserted in the wrong location. Pick-to: 6.8 6.9 6.10 Task-number: QTBUG-93020 Change-Id: Ib2fd9fe430c8215dbbfd8c91964ac1b60e0d570b Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'tests/auto/proxy_multiprocess')
-rw-r--r--tests/auto/proxy_multiprocess/tst/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/proxy_multiprocess/tst/CMakeLists.txt b/tests/auto/proxy_multiprocess/tst/CMakeLists.txt
index a67674b..28bd8c6 100644
--- a/tests/auto/proxy_multiprocess/tst/CMakeLists.txt
+++ b/tests/auto/proxy_multiprocess/tst/CMakeLists.txt
@@ -6,6 +6,12 @@
## tst_proxy_multiprocess Test:
#####################################################################
+if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
+ cmake_minimum_required(VERSION 3.16)
+ project(tst_proxy_multiprocess LANGUAGES CXX)
+ find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
+endif()
+
qt_internal_add_test(tst_proxy_multiprocess
OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
SOURCES