Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Services/VideoOverlayManagement/CMakeLists.txt
T
torsten 793c9f8b81 BUILD_RTI=OFF: Fix remaining include and build issues
TrainingAreaBase:
- Add BUILD_RTI guards to dds_handler.cpp (entire file)
- Add BUILD_RTI guards to recv_from_dds_aes.h for tab_db.h include
- Add BUILD_RTI guards to main_handler.h for tab_db.h include
- Remove duplicate m_logger declaration in main_handler.h
- Add stub headers for RTI types (tab_db_stub.hpp, tab_enums_stub.hpp, etc.)

VideoOverlayManagement:
- Fix member initialization order in handler_overlays.h
- Fix member initialization order in avs_interface.h
- Fix member initialization order in main_handler.h
- Change logger.cpp include from NGLLogger.h to INGLLogger.h
- Add BUILD_RTI guard to handler_overlays.cpp for RTI signal connection

Plugins:
- Migrate QDesktopWidget → QScreen in Light/Dark style plugins
- Fix CMakeLists.txt for SituationReplayManagement (BUILD_RTI guards)
- Fix CMakeLists.txt for CombatNetRadio (Qt6::Core linking)
- Remove QDesktopWidget includes in multiple plugin files

Infrastructure:
- Remove duplicate INGLLogger.h include directory
- Add stub headers for ProjectDataManagement (pdm.hpp, etc.)
- Add stub headers for RoutingServiceNG

BUILD_RTI=OFF build now compiles successfully (1112 targets).
2026-08-24 14:37:16 +02:00

67 lines
1.3 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
)
ELSE(BUILD_RTI)
NGL_TARGET_LINK_LIBRARIES(svcVideoOverlayManagement
Qt6::Core
Qt6::Network
nglsettings
LtsCommandLineParser
NGLLogger
nglcoreapplication
ngltools
)
ENDIF(BUILD_RTI)
NGL_INSTALL_TARGET(svcVideoOverlayManagement)
NGL_INSTALL(AAR SV FILES log4cxx_vom.props DESTINATION bin)
NGL_ADD_TARGET_LINK(svcVideoOverlayManagement sVOM)