Infrastructure fixes in Lts/Services/RoutingServiceNG only
This commit is contained in:
5 files changed
+43
-3
No files matched your search
@@ -88,6 +88,8 @@ include_directories(${CMAKE_BINARY_DIR}/Lts/Services/InfrastructureManagement)
|
|||||||
include_directories(${CMAKE_SOURCE_DIR}/Lts/Proxies/GuezNasat)
|
include_directories(${CMAKE_SOURCE_DIR}/Lts/Proxies/GuezNasat)
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/Lts/DDS)
|
include_directories(${CMAKE_SOURCE_DIR}/Lts/DDS)
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/Lts/DDS/QosProfile)
|
include_directories(${CMAKE_SOURCE_DIR}/Lts/DDS/QosProfile)
|
||||||
|
include_directories(${CMAKE_SOURCE_DIR}/include/DDS)
|
||||||
|
include_directories(${CMAKE_SOURCE_DIR}/include/DDS/Generic)
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/Lts/Common)
|
include_directories(${CMAKE_SOURCE_DIR}/Lts/Common)
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/Lts/Common/LtsUtils)
|
include_directories(${CMAKE_SOURCE_DIR}/Lts/Common/LtsUtils)
|
||||||
include_directories(${CMAKE_BINARY_DIR}/Lts/Common/LtsUtils/LtsUtilsCore)
|
include_directories(${CMAKE_BINARY_DIR}/Lts/Common/LtsUtils/LtsUtilsCore)
|
||||||
|
|||||||
@@ -19,9 +19,10 @@ SET(SRCS
|
|||||||
)
|
)
|
||||||
|
|
||||||
NGL_ADD_LIBRARY2(AAR SV WS HLA ddsconnector SHARED ${SRCS})
|
NGL_ADD_LIBRARY2(AAR SV WS HLA ddsconnector SHARED ${SRCS})
|
||||||
NGL_TARGET_INCLUDE_DIRECTORIES(
|
NGL_TARGET_INCLUDE_DIRECTORIES(ddsconnector
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
||||||
|
${CMAKE_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
NGL_TARGET_LINK_LIBRARIES(ddsconnector
|
NGL_TARGET_LINK_LIBRARIES(ddsconnector
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ ENDIF()
|
|||||||
NGL_ADD_LIBRARY2(AAR SV HLA WS ddsQoS SHARED ${SRCS})
|
NGL_ADD_LIBRARY2(AAR SV HLA WS ddsQoS SHARED ${SRCS})
|
||||||
NGL_TARGET_INCLUDE_DIRECTORIES(ddsQoS
|
NGL_TARGET_INCLUDE_DIRECTORIES(ddsQoS
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../../
|
${CMAKE_CURRENT_SOURCE_DIR}/../../../
|
||||||
)
|
)
|
||||||
NGL_TARGET_LINK_LIBRARIES(ddsQoS
|
NGL_TARGET_LINK_LIBRARIES(ddsQoS
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
SET(xml_FILE rsc_service.xml)
|
SET(xml_FILE rsc_service.xml)
|
||||||
|
|
||||||
|
# RoutingServiceNG requires RTI DDS - only build when BUILD_RTI=ON
|
||||||
|
IF(BUILD_RTI)
|
||||||
|
|
||||||
SET(SRCS_lib
|
SET(SRCS_lib
|
||||||
logger.cpp
|
logger.cpp
|
||||||
logger.h
|
logger.h
|
||||||
@@ -23,11 +26,13 @@ NGL_TARGET_LINK_LIBRARIES(rscCommon
|
|||||||
PRIVATE
|
PRIVATE
|
||||||
LtsPluginLoader
|
LtsPluginLoader
|
||||||
PUBLIC
|
PUBLIC
|
||||||
$<IF:$<TARGET_EXISTS:ddsconnector>,ddsconnector,>
|
ddsconnector
|
||||||
NGLLogger
|
NGLLogger
|
||||||
Qt6::Core
|
Qt6::Core
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ENDIF(BUILD_RTI)
|
||||||
|
|
||||||
## currently no ruting service in guez
|
## currently no ruting service in guez
|
||||||
#IF (NOT GUEZ_MODE)#
|
#IF (NOT GUEZ_MODE)#
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
// Stub header for BUILD_RTI=OFF
|
||||||
|
// Original ddsconnector_export.h is generated by CMake when BUILD_RTI=ON
|
||||||
|
|
||||||
|
// For BUILD_RTI=OFF, we don't need DLL export/import macros
|
||||||
|
// Define DDSCONNECTOR_EXPORT as empty
|
||||||
|
#ifndef DDSCONNECTOR_EXPORT
|
||||||
|
#define DDSCONNECTOR_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DDSCONNECTOR_NO_EXPORT
|
||||||
|
#define DDSCONNECTOR_NO_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Static library marker (not used for BUILD_RTI=OFF)
|
||||||
|
#ifndef DDSCONNECTOR_STATIC_DEFINE
|
||||||
|
#define DDSCONNECTOR_STATIC_DEFINE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Deprecated marker (optional, can be empty)
|
||||||
|
#ifndef DDSCONNECTOR_DEPRECATED
|
||||||
|
#define DDSCONNECTOR_DEPRECATED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DDSCONNECTOR_DEPRECATED_EXPORT
|
||||||
|
#define DDSCONNECTOR_DEPRECATED_EXPORT DDSCONNECTOR_DEPRECATED DDSCONNECTOR_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DDSCONNECTOR_DEPRECATED_NO_EXPORT
|
||||||
|
#define DDSCONNECTOR_DEPRECATED_NO_EXPORT DDSCONNECTOR_DEPRECATED DDSCONNECTOR_NO_EXPORT
|
||||||
|
#endif
|
||||||
Reference in new issue
Block a user