mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Autogen: Tests: Separate SameName test
This commit is contained in:
@@ -59,10 +59,6 @@ if(NON_ASCII_BDIR AND WIN32)
|
||||
set(ALLOW_WRAP_CPP FALSE)
|
||||
endif()
|
||||
|
||||
# -- Test
|
||||
# Source files with the same basename in different subdirectories
|
||||
add_subdirectory(sameName)
|
||||
|
||||
# -- Test
|
||||
# Tests static library cycles
|
||||
add_subdirectory(staticLibraryCycle)
|
||||
|
||||
@@ -28,3 +28,4 @@ ADD_AUTOGEN_TEST(ObjectLibrary someProgram)
|
||||
if(APPLE AND (NOT QT_TEST_VERSION STREQUAL 4))
|
||||
ADD_AUTOGEN_TEST(MacOsFW)
|
||||
endif()
|
||||
ADD_AUTOGEN_TEST(SameName sameName)
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(SameName)
|
||||
include("../AutogenTest.cmake")
|
||||
|
||||
# Test AUTOMOC and AUTORCC on source files with the same name
|
||||
# but in different subdirectories
|
||||
|
||||
@@ -20,7 +24,8 @@ target_link_libraries(sameName ${QT_LIBRARIES})
|
||||
set_target_properties(sameName PROPERTIES
|
||||
AUTOMOC TRUE
|
||||
AUTOUIC TRUE
|
||||
AUTORCC TRUE)
|
||||
AUTORCC TRUE
|
||||
)
|
||||
|
||||
# Set different compression levels
|
||||
if (QT_TEST_VERSION STREQUAL 4)
|
||||
Reference in New Issue
Block a user