mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
Autogen: Tests: Separate MocCMP0071 test
This commit is contained in:
@@ -59,12 +59,6 @@ if(NON_ASCII_BDIR AND WIN32)
|
||||
set(ALLOW_WRAP_CPP FALSE)
|
||||
endif()
|
||||
|
||||
# -- Test
|
||||
# Tests policy 0071
|
||||
if(ALLOW_WRAP_CPP)
|
||||
add_subdirectory(mocCMP0071)
|
||||
endif()
|
||||
|
||||
# -- Test
|
||||
# Tests various .ui include directories
|
||||
add_subdirectory(uicInclude)
|
||||
|
||||
@@ -20,3 +20,6 @@ if(QT_TEST_ALLOW_QT_MACROS)
|
||||
ADD_AUTOGEN_TEST(MocIncludeStrict mocIncludeStrict)
|
||||
ADD_AUTOGEN_TEST(MocIncludeRelaxed mocIncludeRelaxed)
|
||||
endif()
|
||||
if(QT_TEST_ALLOW_QT_MACROS)
|
||||
ADD_AUTOGEN_TEST(MocCMP0071)
|
||||
endif()
|
||||
|
||||
6
Tests/QtAutogen/MocCMP0071/CMakeLists.txt
Normal file
6
Tests/QtAutogen/MocCMP0071/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(MocCMP0071)
|
||||
include("../AutogenTest.cmake")
|
||||
|
||||
add_subdirectory(OLD)
|
||||
add_subdirectory(NEW)
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
cmake_policy(SET CMP0071 NEW)
|
||||
|
||||
# *Generate* files
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
cmake_policy(SET CMP0071 OLD)
|
||||
|
||||
# *Generate* files
|
||||
@@ -1,4 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
project(mocCMP0071 CXX)
|
||||
add_subdirectory(OLD)
|
||||
add_subdirectory(NEW)
|
||||
Reference in New Issue
Block a user