Adds functionality and with already migrated components integration test to cmake targets unter ./Z
This commit is contained in:
6 files changed
+795
-17
No files matched your search
@@ -139,6 +139,42 @@ else()
|
||||
)
|
||||
endif()
|
||||
|
||||
# Link against Z-module libraries for integration tests
|
||||
# These are the core NGL libraries migrated to Qt6
|
||||
if(TARGET NGLLogger)
|
||||
target_link_libraries(migration_tests PRIVATE NGLLogger)
|
||||
endif()
|
||||
if(TARGET ngltools)
|
||||
target_link_libraries(migration_tests PRIVATE ngltools)
|
||||
endif()
|
||||
if(TARGET ngldb)
|
||||
target_link_libraries(migration_tests PRIVATE ngldb)
|
||||
endif()
|
||||
if(TARGET nglsettings)
|
||||
target_link_libraries(migration_tests PRIVATE nglsettings)
|
||||
endif()
|
||||
if(TARGET ngltranslator)
|
||||
target_link_libraries(migration_tests PRIVATE ngltranslator)
|
||||
endif()
|
||||
if(TARGET nglcompression)
|
||||
target_link_libraries(migration_tests PRIVATE nglcompression)
|
||||
endif()
|
||||
if(TARGET tcpserver)
|
||||
target_link_libraries(migration_tests PRIVATE tcpserver)
|
||||
endif()
|
||||
if(TARGET nglapplication)
|
||||
target_link_libraries(migration_tests PRIVATE nglapplication)
|
||||
endif()
|
||||
if(TARGET qtsingleapplication)
|
||||
target_link_libraries(migration_tests PRIVATE qtsingleapplication)
|
||||
endif()
|
||||
if(TARGET wms_json_ds)
|
||||
target_link_libraries(migration_tests PRIVATE wms_json_ds)
|
||||
endif()
|
||||
if(TARGET nglwidgets AND QT6_GUI_AVAILABLE)
|
||||
target_link_libraries(migration_tests PRIVATE nglwidgets)
|
||||
endif()
|
||||
|
||||
# Link against LtsTimelineClassic only if it exists (may not exist with MIGRATE_MODULE)
|
||||
if(TARGET LtsTimelineClassic)
|
||||
target_link_libraries(migration_tests PRIVATE LtsTimelineClassic)
|
||||
|
||||
Reference in new issue
Block a user