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).
121 lines
2.7 KiB
CMake
Executable File
121 lines
2.7 KiB
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
#
|
|
# --- Library svcCnrHelper --------------------------------------------------------------------------------
|
|
#
|
|
SET(SRCS_helper
|
|
Helper/cnr_frequency_planning_helper.cpp
|
|
Helper/cnr_frequency_planning_helper.h
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(WS SV svcCnrHelper SHARED ${SRCS_helper})
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(svcCnrHelper
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
${CMAKE_CURRENT_BINARY_DIR}/../
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
|
)
|
|
|
|
NGL_TARGET_LINK_LIBRARIES(svcCnrHelper
|
|
PUBLIC
|
|
Qt6::Core
|
|
)
|
|
|
|
IF(BUILD_RTI)
|
|
NGL_TARGET_LINK_LIBRARIES(svcCnrHelper
|
|
# PRIVATE
|
|
# RTI::nddscpp2
|
|
# ddsconnector
|
|
# ddsfts
|
|
PUBLIC
|
|
svcAvmCommon
|
|
|
|
# svcAesCommon
|
|
# ngldb
|
|
)
|
|
ENDIF(BUILD_RTI)
|
|
NGL_INSTALL_TARGET(svcCnrHelper)
|
|
|
|
#
|
|
# --- Executable svcCombatNetRadio (pCNR) -------------------------------------------------
|
|
#
|
|
SET(xml_FILE cnr_service.xml)
|
|
|
|
SET(SRCS_exe
|
|
dds_handler.cpp
|
|
dds_handler.h
|
|
logger.cpp
|
|
logger.h
|
|
main.cpp
|
|
main_handler.cpp
|
|
main_handler.h
|
|
active_exercises.cpp
|
|
active_exercises.h
|
|
exercise_manager.cpp
|
|
exercise_manager.h
|
|
dds_handler_exercise.cpp
|
|
dds_handler_exercise.h
|
|
training_area.cpp
|
|
training_area.h
|
|
config_cnr.cpp
|
|
config_cnr.h
|
|
positions_cnr.cpp
|
|
positions_cnr.h
|
|
helper.cpp
|
|
helper.h
|
|
|
|
WebSocketInterface/json_keys.h
|
|
WebSocketInterface/websocket_interface_handler.cpp
|
|
WebSocketInterface/websocket_interface_handler.h
|
|
WebSocketInterface/Connection/client_connection.cpp
|
|
WebSocketInterface/Connection/client_connection.h
|
|
WebSocketInterface/Connection/connection_handler.cpp
|
|
WebSocketInterface/Connection/connection_handler.h
|
|
WebSocketInterface/Messages/client_message.cpp
|
|
WebSocketInterface/Messages/client_message.h
|
|
WebSocketInterface/Messages/message_handler.cpp
|
|
WebSocketInterface/Messages/message_handler.h
|
|
WebSocketInterface/Messages/message_transmitter.h
|
|
WebSocketInterface/Messages/reply_message.cpp
|
|
WebSocketInterface/Messages/reply_message.h
|
|
|
|
cnr_service.xml
|
|
log4cxx_cnr.props
|
|
)
|
|
# 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 svcCombatNetRadio ${SRCS_exe})
|
|
NGL_TARGET_LINK_LIBRARIES(svcCombatNetRadio
|
|
LtsCommandLineParser
|
|
LtsCoordTrans
|
|
LtsUtilsCore
|
|
nglcoreapplication
|
|
NGLLogger
|
|
Qt6::Core
|
|
Qt6::Network
|
|
Qt6::WebSockets
|
|
ngltools
|
|
svcCoreClient
|
|
svcCnrHelper
|
|
svcIsmClient
|
|
svcExmClient
|
|
svcPpmClient
|
|
svcAvmClient
|
|
svcAsmClient
|
|
)
|
|
IF(BUILD_RTI)
|
|
NGL_TARGET_LINK_LIBRARIES(svcCombatNetRadio
|
|
ddsconnector
|
|
ddscore
|
|
)
|
|
ENDIF(BUILD_RTI)
|
|
NGL_INSTALL_TARGET(svcCombatNetRadio)
|
|
NGL_INSTALL(AAR SV FILES log4cxx_cnr.props DESTINATION bin)
|
|
NGL_ADD_TARGET_LINK(svcCombatNetRadio pCNR)
|