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.
55 lines
987 B
CMake
Executable File
55 lines
987 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Mike Wille, SLSE, 2016-10-27
|
|
#
|
|
|
|
|
|
# LtsAppManager
|
|
|
|
set(LtsAppManager_SRCS
|
|
lts_app_manager.cpp
|
|
AppChooser/app_chooser.cpp
|
|
AppChooser/app_chooser_model.cpp
|
|
AppChooser/CustomViews/app.cpp
|
|
)
|
|
|
|
NGL_WRAP_UI(LtsAppManager_SRCS
|
|
AppChooser/app_chooser.ui
|
|
AppChooser/CustomViews/app.ui
|
|
)
|
|
|
|
IF(BUILD_RTI)
|
|
NGL_ADD_LIBRARY(WS LtsAppManager SHARED ${LtsAppManager_SRCS})
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(LtsAppManager
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
${CMAKE_CURRENT_SOURCE_DIR}/AppChooser/
|
|
)
|
|
|
|
NGL_TARGET_LINK_LIBRARIES(LtsAppManager
|
|
PRIVATE
|
|
NGLLogger
|
|
LtsDataView
|
|
LtsWidgets
|
|
LtsLogin
|
|
LtsPluginManager
|
|
LtsSession
|
|
LtsSessionData
|
|
LtsUtilsSettings
|
|
LtsMultiMonitor
|
|
ProjectConfig
|
|
Qt6::Gui
|
|
Qt6::Widgets
|
|
Qt6::Network # debug server
|
|
OpmSettingsGuiPluginInterface
|
|
LtsPluginLoader
|
|
PUBLIC
|
|
Qt6::Core
|
|
LtsAppDescriptor
|
|
)
|
|
|
|
NGL_INSTALL_TARGET(LtsAppManager)
|
|
ENDIF(BUILD_RTI)
|