Fix BUILD_RTI=OFF build: Guard RTI-only DDS modules
- LtsUtilsSettings: Fix export header include path (angle brackets) - LtsWidgets: Move LtsUtilsSettings to PUBLIC link libraries - BatteryNotification: Remove unused QDesktopWidget include - DDS/FTC: Wrap ddsftccore library in IF(BUILD_RTI) guards - DDS/FTS: Remove ELSE block, wrap entire library in IF(BUILD_RTI) - DDS/DTC: Wrap entire library definition in IF(BUILD_RTI) - DDS/DTS: Wrap entire library definition in IF(BUILD_RTI) - DDS/DDSConnector: Wrap entire library in IF(BUILD_RTI), remove ELSE - DDS/Routing: Wrap entire library in IF(BUILD_RTI) All RTI Connext DDS-specific libraries (ddscore, ddsQoS, ddsgen, ddsdtc, ddsdts, ddsfts, ddsconnector, routing_plugin) are now properly guarded so BUILD_RTI=OFF builds can succeed.
This commit is contained in:
1 parent
f6cbb9021f
commit
c042faae9e
9 files changed
+48
-60
No files matched your search
@@ -1,7 +1,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ltsutilssettings_export.h"
|
||||
#include <ltsutilssettings_export.h>
|
||||
|
||||
#include <QMap>
|
||||
#include <QObject>
|
||||
|
||||
@@ -162,22 +162,22 @@ NGL_TARGET_LINK_LIBRARIES(LtsWidgets
|
||||
ngltranslator
|
||||
TabBarTabStyle
|
||||
LtsSessionData
|
||||
LtsUtilsSettings
|
||||
NGLLogger
|
||||
PUBLIC
|
||||
LtsUtilsCore
|
||||
LtsUtilsSettings
|
||||
Qt6::Core
|
||||
Qt6::Widgets
|
||||
Qt6::Gui
|
||||
)
|
||||
|
||||
IF(BUILD_RTI)
|
||||
|
||||
# Include directories needed for all builds (not just BUILD_RTI)
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(LtsWidgets
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../
|
||||
)
|
||||
|
||||
IF(BUILD_RTI)
|
||||
NGL_INSTALL_TARGET(LtsWidgets)
|
||||
ENDIF()
|
||||
|
||||
|
||||
Reference in new issue
Block a user