Autogen: Tests: Separate SameName test

This commit is contained in:
Sebastian Holtermann
2017-12-08 20:12:30 +01:00
parent d7868687c8
commit 45b6776ab3
26 changed files with 7 additions and 5 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)