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.
75 lines
1.5 KiB
CMake
Executable File
75 lines
1.5 KiB
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
# Created by Mike Wille, SLSE, 2017-03-15
|
|
#
|
|
|
|
|
|
# Test
|
|
#ADD_SUBDIRECTORY(Test) Not needed anymore + old 'api'
|
|
|
|
|
|
# Library
|
|
SET(LtsScriptTimeline_SRCS
|
|
tools.h
|
|
tools.cpp
|
|
indicator.h
|
|
indicator.cpp
|
|
script_timeline.h
|
|
script_timeline.cpp
|
|
track_content_widget.h
|
|
track_content_widget.cpp
|
|
track_entry.h
|
|
track_entry_painters.h
|
|
track_entry_painters.cpp
|
|
track_entry_previewer.h
|
|
track_entry_previewer.cpp
|
|
track_entry_preview_widget.h
|
|
track_entry_preview_widget.cpp
|
|
track_select_handler.h
|
|
track_select_handler.cpp
|
|
track_resize_handler.cpp
|
|
track_resize_handler.h
|
|
track_drag_handler.h
|
|
track_drag_handler.cpp
|
|
track_widget.h
|
|
track_widget.cpp
|
|
track_header.h
|
|
track_header.cpp
|
|
filter_track_widget.h
|
|
filter_track_widget.cpp
|
|
filter_background_widget.h
|
|
filter_background_widget.cpp
|
|
temporary_pointer_vector.h
|
|
)
|
|
|
|
SET(LtsScriptTimeline_UICS
|
|
Ui/indicator.ui
|
|
Ui/script_timeline.ui
|
|
Ui/track_widget.ui
|
|
Ui/filter_track_widget.ui
|
|
Ui/track_entry_preview_widget.ui
|
|
)
|
|
|
|
NGL_WRAP_UI(LtsScriptTimeline_SRCS ${LtsScriptTimeline_UICS})
|
|
|
|
SET(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/Ui)
|
|
|
|
IF(BUILD_RTI)
|
|
NGL_ADD_LIBRARY2(WS LtsScriptTimeline SHARED ${LtsScriptTimeline_SRCS} ${LtsScriptTimeline_UICS})
|
|
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(LtsScriptTimeline
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
)
|
|
|
|
NGL_TARGET_LINK_LIBRARIES(LtsScriptTimeline
|
|
Qt6::Core
|
|
Qt6::Widgets
|
|
LtsWidgets
|
|
LtsSessionData
|
|
)
|
|
ENDIF(BUILD_RTI)
|