BUILD_RTI=OFF: CODEGEN_* Makros in IF-Blocekt + DatabaseInterfaceImpl Stubs
- Alle 38 Service-Module CMakeLists.txt: CODEGEN_* Makros in IF(BUILD_RTI) gepackt - flm_db_impl_custom.h: Include-Pfad korrigiert (Lts/Services/... → FileManagement/) - DatabaseInterfaceImpl Stub-Header erstellt für: - FileManagement (flm_db_impl.h) - InfrastructureManagement (ism_db_impl.h) - ParticipantManagement (ppm_db_impl.h) - RecordingManagement (rec_db_impl.h) - Evaluations (evl_db_impl.h) - opm_enums.hpp: Placeholder-Enums für OperatorManagement Ermöglicht BUILD_RTI=OFF Builds ohne RTI/DDS Codegenerierung
This commit is contained in:
1 parent
115243d47c
commit
eafbbbbbe9
48 files changed
+1065
-308
No files matched your search
@@ -19,18 +19,26 @@ SET(SRCS_common
|
||||
)
|
||||
|
||||
# Generate scm_enums.idl / scm.idl
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# Generate scm_db_impl.cpp/.h, scm_db.h
|
||||
CODEGEN_DATABASE(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_DATABASE(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
# Generate *.cpp/*.hpp from idl
|
||||
RTIDDSGEN(SRCS_common scm_enums.idl)
|
||||
RTIDDSGEN(SRCS_common scm.idl)
|
||||
|
||||
# Generate scm_dt[s,c]_types.h, scm_ft[s,c]_types.h
|
||||
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# generate scm_[d|f]tc.h
|
||||
CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_LIBRARY(SV AAR WS svcScmCommon SHARED ${SRCS_common})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcScmCommon
|
||||
@@ -56,7 +64,9 @@ SET(SRCS_client
|
||||
scm_export.h
|
||||
)
|
||||
# generate scm_ftc_impl.[cpp|h]
|
||||
CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_LIBRARY(WS AAR SV svcScmClient SHARED ${SRCS_client})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcScmClient
|
||||
@@ -82,7 +92,9 @@ SET(SRCS_server
|
||||
scm_export.h
|
||||
)
|
||||
# generate scm_[d|f]ts.h, scm_[d|f]ts_impl.[cpp|h]
|
||||
CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_LIBRARY(SV AAR svcScmServer SHARED ${SRCS_server})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcScmServer
|
||||
@@ -105,7 +117,9 @@ NGL_INSTALL_TARGET(svcScmServer)
|
||||
#
|
||||
# --- Topic Type Plugin --------------------------------------------------------------
|
||||
#
|
||||
CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
#
|
||||
# --- Executable ServiceManagement(svcServiceManagement) -------------------------------------------------
|
||||
@@ -150,7 +164,9 @@ SET(SRCS_exe
|
||||
)
|
||||
|
||||
# Generate scm.sql, scm.xml
|
||||
CODEGEN_SQL(SRCS_exe ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_SQL(SRCS_exe ${xml_FILE})
|
||||
ENDIF()
|
||||
# install dummy licence file for developers
|
||||
IF(NOT BUILD_RPM)
|
||||
INSTALL_SHARED_FILES(SRCS_exe
|
||||
|
||||
Reference in new issue
Block a user