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
@@ -53,7 +53,9 @@ ADD_CUSTOM_COMMAND(OUTPUT ${out_file_sql}
|
||||
LIST(APPEND SRCS_common ${in_file_sql} ${out_file_sql})
|
||||
|
||||
# Generate aes_enums.idl / aes.idl / aes_enums.cpp/aes_enums.h
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# Generate aes_db_structs.cpp/.h
|
||||
CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE})
|
||||
# Generate aes_db_impl.cpp/.h,
|
||||
@@ -66,9 +68,13 @@ RTIDDSGEN(SRCS_common aes_enums.idl)
|
||||
RTIDDSGEN(SRCS_common aes.idl)
|
||||
|
||||
# Generate aes_dt[s,c]_types.h, aes_ft[s,c]_types.h
|
||||
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# generate aes_[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(AAR SV WS HLA svcAesCommon SHARED ${SRCS_common} )
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcAesCommon
|
||||
@@ -105,7 +111,9 @@ SET(SRCS_client
|
||||
aes_export.h
|
||||
)
|
||||
# generate aes_[d|f]tc_impl.[cpp|h]
|
||||
CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE})
|
||||
ENDIF()
|
||||
# SV wegen ft unit test
|
||||
NGL_ADD_LIBRARY(AAR SV HLA WS svcAesClient SHARED ${SRCS_client})
|
||||
NGL_TARGET_INCLUDE_DIRECTORIES(svcAesClient
|
||||
@@ -134,7 +142,9 @@ SET(SRCS_server
|
||||
log4cxx_aes.props
|
||||
)
|
||||
# generate aes_[d|f]ts.h, aes_[d|f]ts_impl.[cpp|h]
|
||||
CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
|
||||
#WS for Record Replay plugin stand alone build
|
||||
@@ -160,7 +170,9 @@ NGL_INSTALL_TARGET(svcAesServer)
|
||||
#
|
||||
# --- Topic Type Plugin --------------------------------------------------------------
|
||||
#
|
||||
CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE})
|
||||
IF(BUILD_RTI)
|
||||
CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE})
|
||||
ENDIF()
|
||||
|
||||
#
|
||||
# --- RecordReplayPlugin --------------------------------------------------------------
|
||||
@@ -314,7 +326,9 @@ LIST(APPEND SRCS_exe
|
||||
)
|
||||
|
||||
# Generate aes.sql, aes.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 svcAreaEffectSimulation ${SRCS_exe})
|
||||
|
||||
Reference in new issue
Block a user