summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocIncludeStrict
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-09-07 09:54:05 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-18 15:48:10 (GMT)
commit706d9738a614724a96487be074e984a7e86c48c9 (patch)
tree493877be2a31e9c2bd1722a162fb98a891e324f2 /Tests/QtAutogen/MocIncludeStrict
parentd018d27c101869e4e2449f938df89d4f97c5b73c (diff)
downloadCMake-706d9738a614724a96487be074e984a7e86c48c9.zip
CMake-706d9738a614724a96487be074e984a7e86c48c9.tar.gz
CMake-706d9738a614724a96487be074e984a7e86c48c9.tar.bz2
Tests: Merge QtAutogen.MocIncludeStrict and MocIncludeRelaxed
Diffstat (limited to 'Tests/QtAutogen/MocIncludeStrict')
-rw-r--r--Tests/QtAutogen/MocIncludeStrict/CMakeLists.txt10
-rw-r--r--Tests/QtAutogen/MocIncludeStrict/main.cpp26
2 files changed, 0 insertions, 36 deletions
diff --git a/Tests/QtAutogen/MocIncludeStrict/CMakeLists.txt b/Tests/QtAutogen/MocIncludeStrict/CMakeLists.txt
deleted file mode 100644
index d0aaebf..0000000
--- a/Tests/QtAutogen/MocIncludeStrict/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-cmake_minimum_required(VERSION 3.10)
-project(MocIncludeStrict)
-include("../AutogenCoreTest.cmake")
-
-# Test moc include patterns
-set(CMAKE_AUTOMOC_RELAXED_MODE FALSE)
-
-# Shared executable
-set(MOC_INCLUDE_NAME "mocIncludeStrict")
-include(${CMAKE_CURRENT_SOURCE_DIR}/../MocInclude/shared.cmake)
diff --git a/Tests/QtAutogen/MocIncludeStrict/main.cpp b/Tests/QtAutogen/MocIncludeStrict/main.cpp
deleted file mode 100644
index 5a3148d..0000000
--- a/Tests/QtAutogen/MocIncludeStrict/main.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "EObjA.hpp"
-#include "EObjB.hpp"
-#include "LObjA.hpp"
-#include "LObjB.hpp"
-#include "ObjA.hpp"
-#include "ObjB.hpp"
-#include "SObjA.hpp"
-#include "SObjB.hpp"
-#include "subGlobal/GObj.hpp"
-
-int main(int argv, char** args)
-{
- subGlobal::GObj gObj;
- ObjA objA;
- ObjB objB;
- LObjA lObjA;
- LObjB lObjB;
- EObjA eObjA;
- EObjB eObjB;
- SObjA sObjA;
- SObjB sObjB;
- return 0;
-}
-
-// Header in global subdirectory
-#include "subGlobal/moc_GObj.cpp"