- 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.
41 lines
570 B
CMake
Executable File
41 lines
570 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
IF(BUILD_RTI)
|
|
|
|
SET(SRCS
|
|
dds_connector.cpp
|
|
dds_connector.h
|
|
publisher.cpp
|
|
publisher.h
|
|
pub_sub_base.cpp
|
|
pub_sub_base.h
|
|
pub_sub_base_p.h
|
|
subscriber.cpp
|
|
subscriber.h
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(AAR SV WS HLA ddsconnector SHARED ${SRCS})
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(
|
|
INTERFACE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
|
)
|
|
NGL_TARGET_LINK_LIBRARIES(ddsconnector
|
|
PRIVATE
|
|
NGLLogger
|
|
PUBLIC
|
|
RTI::nddsc
|
|
RTI::nddscore
|
|
RTI::nddscpp2
|
|
ddsQoS
|
|
ddsdtc
|
|
ddsdts
|
|
ProjectConfig
|
|
Qt6::Core
|
|
)
|
|
|
|
ENDIF(BUILD_RTI)
|