Integrates unittests for Lts/Services/S* into validation step
This commit is contained in:
12 files changed
+38
-11
No files matched your search
@@ -96,14 +96,12 @@ if(BUILD_TESTING)
|
||||
# Enable Qt Meta-Object Compiler for tests with Q_OBJECT
|
||||
set_target_properties(migration_tests PROPERTIES AUTOMOC ON)
|
||||
|
||||
target_compile_features(migration_tests PRIVATE cxx_std_23)
|
||||
target_compile_features(migration_tests PRIVATE cxx_std_17)
|
||||
|
||||
target_include_directories(migration_tests PRIVATE
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/qt6-after/qt6-migrated-legatus
|
||||
${CMAKE_SOURCE_DIR}/qt6-after/qt6-migrated-legatus/include
|
||||
${CMAKE_SOURCE_DIR}/qt6-after/qt6-migrated-legatus/DDS
|
||||
${CMAKE_SOURCE_DIR}/DDS
|
||||
${CMAKE_BINARY_DIR}/Lts/Common
|
||||
${CMAKE_BINARY_DIR}/Lts/Common/CodeGen
|
||||
${CMAKE_BINARY_DIR}/Lts/Common/LtsTimeline
|
||||
@@ -133,7 +131,7 @@ endif()
|
||||
if(BUILD_GRANTLEE)
|
||||
target_link_libraries(migration_tests PRIVATE codegen_grantlee)
|
||||
target_include_directories(migration_tests PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/qt6-after/qt6-migrated-legatus/Lts/Common/CodeGen
|
||||
${CMAKE_SOURCE_DIR}/Lts/Common/CodeGen
|
||||
)
|
||||
message(STATUS "Migration tests: Grantlee support enabled")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user