Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/VideoOverlayManagement/CMakeLists.txt
T
torsten cf6d77c030 Add BUILD_RTI conditionals for RTI/DDS dependent libraries
Systematic fix for BUILD_RTI conditional compilation:
- Lts/Common: Wrap all DDS-dependent libraries in IF(BUILD_RTI)
  - LtsAppManager, LtsCoordTrans, LtsCoordinate, LtsLogin
  - LtsMultiMonitor, LtsPluginManager, LtsPrinting
  - LtsProjectionWorkstation, LtsScriptTimeline, LtsSession
  - LtsTimelineClassic, LtsUtilsCore, LtsUtilsGui, LtsUtilsGuiDds
- Lts/DDS: Add BUILD_RTI guards to Core, DDSConnector, DdsUnitTests, FTC, FTS
- Lts/Plugins: Add BUILD_RTI guards to FilterManagement, OperatorManagement, SituationReplayManagement
- Lts/Proxies: Add BUILD_RTI guards to Buildings, CombatNetRadio, ComponentMonitor, GuezNasat, TrainingAreaBase, TrainingAreaBaseOC
- Lts/Services: Add BUILD_RTI guards to all 30+ service modules
- Z/nglwidgets: Add BUILD_RTI guards, fix Poppler Qt6 headers

Qt6 compatibility fixes:
- LtsCoordTrans: QOverload signal signature, QChar constructor
- LtsMultiMonitor: setMargin→setContentsMargins, remove deprecated HighQualityAntialiasing
- nglwidgets: Poppler Qt5→Qt6 header migration
- Add FindPopplerQt6.cmake for Qt6 Poppler detection

Part of Qt5→Qt6 migration with RTI DDS support.
2026-08-19 00:12:28 +02:00

57 lines
1.1 KiB
CMake
Executable File

#
# $Id$
# $HeadURL$
# $Author$
# Created by hjl, SLSE, 2016-06-22
#
SET(xml_FILE vom_service.xml)
# --- Executable svcVideoOverlayManagement (sVOM) -------------------------------------------------
#
SET(SRCS_exe
avs_interface.cpp
avs_interface.h
dds_handler.cpp
dds_handler.h
handler_participant_data.cpp
handler_participant_data.h
handler_infrastructure_data.cpp
handler_infrastructure_data.h
handler_overlays.cpp
handler_overlays.h
logger.cpp
logger.h
main.cpp
main_handler.cpp
main_handler.h
settings.cpp
settings.h
)
# make sure xml file is properly installed
CODEGEN_HANDLE_SVC_XML(SRCS_exe ${xml_FILE})
NGL_ADD_SVC_ICON(SRCS_exe)
NGL_ADD_EXECUTABLE(AAR SV svcVideoOverlayManagement ${SRCS_exe})
IF(BUILD_RTI)
NGL_TARGET_LINK_LIBRARIES(svcVideoOverlayManagement
Qt6::Core
Qt6::Network
ddsconnector
ddsQoS
svcCoreClient
svcIsmClient
svcPpmClient
nglsettings
LtsCommandLineParser
NGLLogger
nglcoreapplication
ddscore
ngltools
)
ENDIF(BUILD_RTI)
NGL_INSTALL_TARGET(svcVideoOverlayManagement)
NGL_INSTALL(AAR SV FILES log4cxx_vom.props DESTINATION bin)
NGL_ADD_TARGET_LINK(svcVideoOverlayManagement sVOM)