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,7 +19,9 @@ SET(SRCS_common
|
||||
)
|
||||
|
||||
# Generate eem_enums.idl / eem.idl
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# Generate eem_db_structs.cpp/.h
|
||||
CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE})
|
||||
# Generate eem_db_impl.cpp/.h
|
||||
@@ -30,10 +32,14 @@ RTIDDSGEN(SRCS_common eem_enums.idl)
|
||||
RTIDDSGEN(SRCS_common eem.idl)
|
||||
|
||||
# Generate eem_dt[s,c]_types.h, eem_ft[s,c]_types.h
|
||||
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
# generate eem_[d|f]tc.h
|
||||
CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE} PARTS DTC)
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE} PARTS DTC)
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_LIBRARY(AAR SV WS svcEemCommon SHARED ${SRCS_common})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcEemCommon
|
||||
@@ -61,7 +67,9 @@ SET(SRCS_client
|
||||
eem_export.h
|
||||
)
|
||||
# generate eem_[d|f]tc.h, eem_[d|f]tc_impl.[cpp|h]
|
||||
CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE} PARTS DTC)
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE} PARTS DTC)
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_LIBRARY(AAR SV WS svcEemClient SHARED ${SRCS_client})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcEemClient
|
||||
@@ -87,7 +95,9 @@ SET(SRCS_server
|
||||
eem_export.h
|
||||
)
|
||||
# generate eem_[d|f]ts.h, eem_[d|f]ts_impl.[cpp|h]
|
||||
CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE} PARTS DTS)
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE} PARTS DTS)
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_LIBRARY(AAR SV svcEemServer SHARED ${SRCS_server})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcEemServer
|
||||
@@ -110,7 +120,9 @@ NGL_INSTALL_TARGET(svcEemServer)
|
||||
#
|
||||
# --- Topic Type Plugin --------------------------------------------------------------
|
||||
#
|
||||
CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
#
|
||||
# --- Executable svcTimeLineManagement (sTLM) -------------------------------------------------
|
||||
@@ -137,7 +149,9 @@ SET(SRCS_exe
|
||||
)
|
||||
|
||||
# Generate eem.sql, eem.xml
|
||||
CODEGEN_SQL(SRCS_exe ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_SQL(SRCS_exe ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
NGL_ADD_SVC_ICON(SRCS_exe)
|
||||
NGL_ADD_EXECUTABLE(AAR SV svcExerciseEventManagement ${SRCS_exe})
|
||||
|
||||
Reference in new issue
Block a user