summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/RerunMocBasic
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2018-11-27 11:41:20 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2018-11-28 11:51:19 (GMT)
commit2ef640819fcf9ca741b3ebcb543b9a01ffb40689 (patch)
tree22c385086aa71e29601caba27d94593ea642407b /Tests/QtAutogen/RerunMocBasic
parentb736f5f269a1d04532901326304597a284af2c70 (diff)
downloadCMake-2ef640819fcf9ca741b3ebcb543b9a01ffb40689.zip
CMake-2ef640819fcf9ca741b3ebcb543b9a01ffb40689.tar.gz
CMake-2ef640819fcf9ca741b3ebcb543b9a01ffb40689.tar.bz2
Autogen: Tests: Differentiate between Qt core and Qt gui tests
Some AUTOGEN tests require the Qt core libraries only and some require the Qt gui libraries to function. This replaces the AutogenTest.cmake script with two specific AutogenCoreTest.cmake and AutogenGuiTest.cmake scripts that are included on demand.
Diffstat (limited to 'Tests/QtAutogen/RerunMocBasic')
-rw-r--r--Tests/QtAutogen/RerunMocBasic/CMakeLists.txt2
-rw-r--r--Tests/QtAutogen/RerunMocBasic/MocBasic/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/QtAutogen/RerunMocBasic/CMakeLists.txt b/Tests/QtAutogen/RerunMocBasic/CMakeLists.txt
index 6fad80c..f4b726f 100644
--- a/Tests/QtAutogen/RerunMocBasic/CMakeLists.txt
+++ b/Tests/QtAutogen/RerunMocBasic/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(RerunMocBasic)
-include("../AutogenTest.cmake")
+include("../AutogenCoreTest.cmake")
# Dummy executable to generate a clean target
add_executable(dummy dummy.cpp)
diff --git a/Tests/QtAutogen/RerunMocBasic/MocBasic/CMakeLists.txt b/Tests/QtAutogen/RerunMocBasic/MocBasic/CMakeLists.txt
index cec60a4..6a9f550 100644
--- a/Tests/QtAutogen/RerunMocBasic/MocBasic/CMakeLists.txt
+++ b/Tests/QtAutogen/RerunMocBasic/MocBasic/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(MocBasic)
-include("../../AutogenTest.cmake")
+include("../../AutogenCoreTest.cmake")
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)