diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/AlarmManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/AlarmManagement/CMakeLists.txt index b2ac0dc72..08ba673dd 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/AlarmManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/AlarmManagement/CMakeLists.txt @@ -18,18 +18,26 @@ SET(SRCS_common ) # Generate alm_enums.idl / alm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate alm_db_impl.cpp/.h, alm_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 alm_enums.idl) RTIDDSGEN(SRCS_common alm.idl) # Generate alm_dt[s,c]_types.h, alm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate alm_[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 svcAlmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAlmCommon @@ -56,7 +64,9 @@ SET(SRCS_client alm_export.h ) # generate alm_[d|f]tc.h, tlm_[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() NGL_ADD_LIBRARY(AAR SV WS svcAlmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAlmClient @@ -97,9 +107,13 @@ SET(SRCS_server # settings.h ) # generate alm_[d|f]ts.h, alm_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate alm.sql, alm.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcAlmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAlmServer @@ -138,7 +152,9 @@ NGL_INSTALL_TARGET(svcAlmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- RecordReplayPlugin -------------------------------------------------------------- diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/AreaEffectSimulation/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/AreaEffectSimulation/CMakeLists.txt index 6e083899f..6e19d94d7 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/AreaEffectSimulation/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/AreaEffectSimulation/CMakeLists.txt @@ -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}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/AssetManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/AssetManagement/CMakeLists.txt index 4fca23981..57245e18a 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/AssetManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/AssetManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate asm_enums.idl / asm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate asm_db_impl.cpp/.h, asm_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 asm_enums.idl) RTIDDSGEN(SRCS_common asm.idl) # Generate asm_dt[s,c]_types.h, asm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate asm_[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 svcAsmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAsmCommon @@ -58,7 +66,9 @@ SET(SRCS_client asm_export.h ) # generate asm_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 svcAsmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAsmClient @@ -85,7 +95,9 @@ SET(SRCS_server convert_db_to_dds.h ) # generate asm_[d|f]ts.h, asm_[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(WS AAR SV svcAsmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAsmServer @@ -108,7 +120,9 @@ NGL_INSTALL_TARGET(svcAsmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcAssetManagement (sASM) ------------------------------------------------- @@ -154,7 +168,9 @@ SET(SRCS_exe ) # Generate asm.sql, asm.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(SV AAR svcAssetManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/CMakeLists.txt index c4f0ce131..2b6be1129 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/CMakeLists.txt @@ -114,7 +114,9 @@ SET(SRCS_common SET_SOURCE_FILES_PROPERTIES(list_response_collector.cpp PROPERTIES SKIP_UNITY_BUILD_INCLUSION TRUE) # Generate avm_enums.idl / avm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate avm_db.h, avm_db_impl.cpp/.h CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) @@ -123,9 +125,13 @@ RTIDDSGEN(SRCS_common avm_enums.idl) RTIDDSGEN(SRCS_common avm.idl) # Generate avm_dt[s,c]_types.h, avm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate avm_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +ENDIF() # Generate avm_db_structs.cpp/.h CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE}) @@ -161,7 +167,9 @@ SET(SRCS_client avm_dtc_impl_custom.cpp ) # generate avm_[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() NGL_ADD_LIBRARY(AAR SV WS svcAvmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAvmClient @@ -187,7 +195,9 @@ SET(SRCS_server avm_export.h ) # generate avm_[d|f]ts.h, avm_[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(AAR SV svcAvmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcAvmServer @@ -210,7 +220,9 @@ NGL_INSTALL_TARGET(svcAvmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcAudioVideoManagement (sAVM) ------------------------------------------------- @@ -274,7 +286,9 @@ LIST(APPEND SRCS_exe ) # Generate avm.sql, avm.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 svcAudioVideoManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/CentralEffectSimulation/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/CentralEffectSimulation/CMakeLists.txt index 91ceed1d3..7ca758bd2 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/CentralEffectSimulation/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/CentralEffectSimulation/CMakeLists.txt @@ -31,18 +31,26 @@ SET(SRCS_common ) # Generate ces_enums.idl / ces.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate ces_db_impl.cpp/.h, ces_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 ces_enums.idl) RTIDDSGEN(SRCS_common ces.idl) # Generate ces_dt[s,c]_types.h, ces_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate ces_[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 svcCesCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcCesCommon @@ -158,7 +166,9 @@ SET(SRCS_client ces_export.h ) # generate ces_[d|f]tc.h, tlm_[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() NGL_ADD_LIBRARY(AAR SV WS HLA svcCesClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcCesClient @@ -186,7 +196,9 @@ SET(SRCS_server log4cxx_ces.props ) # generate ces_[d|f]ts.h, ces_[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(AAR SV HLA svcCesServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcCesServer @@ -209,7 +221,9 @@ NGL_INSTALL_TARGET(svcCesServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- RecordReplayPlugin -------------------------------------------------------------- @@ -227,7 +241,9 @@ SET(SRCS_exe ) # Generate ces.sql, ces.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 svcCentralEffectSimulation ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/CodificationManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/CodificationManagement/CMakeLists.txt index 0b67e36a8..0e72c600f 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/CodificationManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/CodificationManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate cod_enums.idl / cod.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate cod_db_impl.cpp/.h, cod_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 cod_enums.idl) RTIDDSGEN(SRCS_common cod.idl) # Generate cod_dt[s,c]_types.h, cod_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate cod_[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 svcCodCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcCodCommon @@ -56,7 +64,9 @@ SET(SRCS_client cod_export.h ) # generate cod_[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() NGL_ADD_LIBRARY(AAR SV WS svcCodClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcCodClient @@ -93,9 +103,13 @@ SET(SRCS_server ${xml_FILE} ) # generate cod_[d|f]ts.h, cod_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate cod.sql, cod.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcCodServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcCodServer @@ -125,7 +139,9 @@ NGL_INSTALL_TARGET(svcCodServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # Uncomment if necessary #ADD_SUBDIRECTORY(UnitTests) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowClient/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowClient/CMakeLists.txt index a06f147ed..713658010 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowClient/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowClient/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate esc_enums.idl / esc.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate esc_db_impl.cpp/.h, esc_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 esc_enums.idl) RTIDDSGEN(SRCS_common esc.idl) # Generate esc_dt[s,c]_types.h, esc_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate esc_[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 svcEscCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEscCommon @@ -57,7 +65,9 @@ SET(SRCS_client esc_export.h ) # generate esc_[d|f]tc.h, esc_[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() NGL_ADD_LIBRARY(AAR SV WS svcEscClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEscClient @@ -83,7 +93,9 @@ SET(SRCS_server esc_export.h ) # generate esc_[d|f]ts.h, esc_[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(AAR SV svcEscServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEscServer @@ -106,7 +118,9 @@ NGL_INSTALL_TARGET(svcEscServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcEffectShowClient (sESC) ------------------------------------------------- @@ -150,7 +164,9 @@ SET(SRCS_exe ) # Generate esc.sql, esc.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 svcEffectShowClient ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowManagement/CMakeLists.txt index 2d8e68058..320604ee6 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/EffectShowManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate esm_enums.idl / esm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate *.cpp/*.hpp from idl RTIDDSGEN(SRCS_common esm_enums.idl) RTIDDSGEN(SRCS_common esm.idl) # Generate esm_dt[s,c]_types.h, esm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate esm_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +ENDIF() # Generate esm_db_impl.cpp/.h, esm_db.h -CODEGEN_DATABASE(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_DATABASE(SRCS_common ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS svcEsmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEsmCommon @@ -56,7 +64,9 @@ SET(SRCS_client esm_export.h ) # generate esm_[d|f]tc.h, esm_[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() NGL_ADD_LIBRARY(AAR SV WS svcEsmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEsmClient @@ -124,9 +134,13 @@ SET(SRCS_server ${xml_FILE} ) # generate esm_[d|f]ts.h, esm_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate esm.sql, esm.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_SVC_ICON(SRCS_server) NGL_ADD_LIBRARY(AAR SV svcEsmServer SHARED ${SRCS_server}) @@ -163,7 +177,9 @@ NGL_INSTALL_TARGET(svcEsmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # Uncomment if necessary #ADD_SUBDIRECTORY(UnitTests) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/Evaluations/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/Evaluations/CMakeLists.txt index e6e1342d2..e10a5f6af 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/Evaluations/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/Evaluations/CMakeLists.txt @@ -23,7 +23,9 @@ SET(SRCS_common ) # Generate evl_enums.idl / evl.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate evl_db.cpp, evl_db_impl.cpp/.h CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) @@ -35,9 +37,13 @@ RTIDDSGEN(SRCS_common evl_enums.idl) RTIDDSGEN(SRCS_common evl.idl) # Generate evl_dt[s,c]_types.h, evl_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate evl_[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 svcEvlCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEvlCommon @@ -63,7 +69,9 @@ SET(SRCS_client evl_export.h ) # generate evl_[d|f]tc.h, evl_[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() NGL_ADD_LIBRARY(AAR SV WS svcEvlClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEvlClient @@ -117,9 +125,13 @@ SET(SRCS_server ) # generate evl_[d|f]ts.h, evl_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate evl.sql, evl.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcEvlServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcEvlServer @@ -148,7 +160,9 @@ NGL_INSTALL_TARGET(svcEvlServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # Uncomment if necessary #ADD_SUBDIRECTORY(UnitTests) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseEventManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseEventManagement/CMakeLists.txt index 5912791f8..e04d62283 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseEventManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseEventManagement/CMakeLists.txt @@ -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}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseManagement/CMakeLists.txt index 49d5b4153..c7bbc8988 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseManagement/CMakeLists.txt @@ -18,19 +18,25 @@ SET(SRCS_common logger.h ) -# Generate exm_enums.idl / exm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) -# Generate exm_db_impl.cpp/.h, exm_db.h -CODEGEN_DATABASE(SRCS_common ${xml_FILE}) - -# Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common exm_enums.idl) -RTIDDSGEN(SRCS_common exm.idl) - -# Generate exm_dt[s,c]_types.h, exm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) -# generate exm_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + # Generate exm_enums.idl / exm.idl + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) + # Generate exm_db_impl.cpp/.h, exm_db.h + CODEGEN_DATABASE(SRCS_common ${xml_FILE}) + # Generate *.cpp/*.hpp from idl + RTIDDSGEN(SRCS_common exm_enums.idl) + RTIDDSGEN(SRCS_common exm.idl) + # Generate exm_dt[s,c]_types.h, exm_ft[s,c]_types.h + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) + # generate exm_[d|f]tc.h + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +ELSE() + # BUILD_RTI=OFF: Use manual stub headers from include/ + LIST(APPEND SRCS_common + ${CMAKE_SOURCE_DIR}/include/ExerciseManagement/exm_db.h + ${CMAKE_SOURCE_DIR}/include/ExerciseManagement/exm_enums.hpp + ) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS HLA svcExmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcExmCommon @@ -56,8 +62,11 @@ NGL_INSTALL_TARGET(svcExmCommon) SET(SRCS_client exm_export.h ) -# generate exm_ftc_impl.[cpp|h] -CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE}) + +IF(BUILD_RTI) + # generate exm_ftc_impl.[cpp|h] + CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS HLA svcExmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcExmClient @@ -83,8 +92,11 @@ SET(SRCS_server exm_export.h convert_db_to_dds.h ) -# generate exm_[d|f]ts.h, exm_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) + +IF(BUILD_RTI) + # generate exm_[d|f]ts.h, exm_[d|f]ts_impl.[cpp|h] + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(WS AAR SV svcExmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcExmServer @@ -108,7 +120,9 @@ NGL_INSTALL_TARGET(svcExmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcExerciseManagement (sEXM) -------------------------------------------------------------- @@ -153,8 +167,10 @@ SET(SRCS_exe ${xml_FILE} ) -# Generate exm.sql, exs.xml -CODEGEN_SQL(SRCS_exe ${CMAKE_CURRENT_SOURCE_DIR}/exm_service.xml) +IF(BUILD_RTI) + # Generate exm.sql, exs.xml + CODEGEN_SQL(SRCS_exe ${CMAKE_CURRENT_SOURCE_DIR}/exm_service.xml) +ENDIF() NGL_ADD_SVC_ICON(SRCS_exe) NGL_ADD_EXECUTABLE(AAR SV svcExerciseManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/CMakeLists.txt index d6377c4f7..9cff10a39 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/CMakeLists.txt @@ -20,19 +20,26 @@ SET(SRCS_common logger.h ) -# Generate flm_enums.idl / flm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) -# Generate flm_db_impl.cpp/.h, flm_db.h -CODEGEN_DATABASE(SRCS_common ${xml_FILE}) - -# Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common flm_enums.idl) -RTIDDSGEN(SRCS_common flm.idl) - -# Generate flm_dt[s,c]_types.h, flm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) -# generate flm_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + # Generate flm_enums.idl / flm.idl + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) + # Generate flm_db_impl.cpp/.h, flm_db.h + CODEGEN_DATABASE(SRCS_common ${xml_FILE}) + # Generate *.cpp/*.hpp from idl + RTIDDSGEN(SRCS_common flm_enums.idl) + RTIDDSGEN(SRCS_common flm.idl) + # Generate flm_dt[s,c]_types.h, flm_ft[s,c]_types.h + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) + # generate flm_[d|f]tc.h + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +ELSE() + # BUILD_RTI=OFF: Use manual stub headers from include/ + LIST(APPEND SRCS_common + ${CMAKE_SOURCE_DIR}/include/FileManagement/flm_db.h + ${CMAKE_SOURCE_DIR}/include/FileManagement/flm_enums.hpp + ${CMAKE_SOURCE_DIR}/include/FileManagement/flm_ftc.h + ) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS svcFlmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcFlmCommon @@ -60,8 +67,11 @@ SET(SRCS_client flm_dtc_impl_custom.h flm_export.h ) -# generate flm_ftc_impl.[cpp|h] -CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE}) + +IF(BUILD_RTI) + # generate flm_ftc_impl.[cpp|h] + CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(WS AAR SV svcFlmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcFlmClient @@ -88,8 +98,11 @@ SET(SRCS_server convert_db_to_dds.h ) -# generate flm_[d|f]ts.h, flm_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) + +IF(BUILD_RTI) + # generate flm_[d|f]ts.h, flm_[d|f]ts_impl.[cpp|h] + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(WS AAR SV svcFlmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcFlmServer @@ -113,7 +126,9 @@ NGL_INSTALL_TARGET(svcFlmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcFileManagement (sFlm) ------------------------------------------------- @@ -168,8 +183,10 @@ SET(SRCS_exe ${xml_FILE} ) -# Generate flm.sql, flm.xml -CODEGEN_SQL(SRCS_exe ${xml_FILE}) +IF(BUILD_RTI) + # Generate flm.sql, flm.xml + CODEGEN_SQL(SRCS_exe ${xml_FILE}) +ENDIF() NGL_ADD_SVC_ICON(SRCS_exe) NGL_ADD_EXECUTABLE(AAR SV svcFileManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/flm_db_impl_custom.h b/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/flm_db_impl_custom.h index 7764978e5..8c067b483 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/flm_db_impl_custom.h +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/FileManagement/flm_db_impl_custom.h @@ -7,7 +7,7 @@ */ #pragma once -#include +#include namespace FileManagement { diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/FilterManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/FilterManagement/CMakeLists.txt index 75bfa1a6c..f8a36c642 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/FilterManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/FilterManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate flt_enums.idl / flt.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate flt_db_impl.cpp/.h, flt_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 flt_enums.idl) RTIDDSGEN(SRCS_common flt.idl) # Generate flt_dt[s,c]_types.h, flt_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate flt_[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 svcFltCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcFltCommon @@ -56,7 +64,9 @@ SET(SRCS_client flt_export.h ) # generate flt_[d|f]tc.h, flt_[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() NGL_ADD_LIBRARY(AAR SV WS svcFltClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcFltClient @@ -97,9 +107,13 @@ SET(SRCS_server ${xml_FILE} ) # generate flt_[d|f]ts.h, flt_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate flt.sql, flt.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcFltServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcFltServer @@ -127,7 +141,9 @@ NGL_INSTALL_TARGET(svcFltServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable ------------------------------------------------- diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/GuezIedManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/GuezIedManagement/CMakeLists.txt index 023bdc8f7..0085e207c 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/GuezIedManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/GuezIedManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate gim_enums.idl / gim.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate gim_db_impl.cpp/.h, gim_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 gim_enums.idl) RTIDDSGEN(SRCS_common gim.idl) # Generate gim_dt[s,c]_types.h, gim_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate gim_[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 svcGimCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcGimCommon @@ -59,7 +67,9 @@ SET(SRCS_client gim_dtc_impl_custom.h ) # generate gim_[d|f]tc.h, gim_[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() NGL_ADD_LIBRARY(AAR SV WS svcGimClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcGimClient @@ -85,7 +95,9 @@ SET(SRCS_server gim_export.h ) # generate gim_[d|f]ts.h, gim_[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(AAR SV svcGimServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcGimServer @@ -108,7 +120,9 @@ NGL_INSTALL_TARGET(svcGimServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- RecordReplayPlugin -------------------------------------------------------------- @@ -134,7 +148,9 @@ LIST(APPEND SRCS_exe ) # Generate gim.sql, gim.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 svcGuezIedManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/InfrastructureManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/InfrastructureManagement/CMakeLists.txt index ab9a9c5b4..c8e19e0c4 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/InfrastructureManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/InfrastructureManagement/CMakeLists.txt @@ -22,18 +22,26 @@ SET(SRCS_common ) # Generate ism_enums.idl / ism.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate ism_db_impl.cpp/.h, ism_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 ism_enums.idl) RTIDDSGEN(SRCS_common ism.idl) # Generate ism_dt[s,c]_types.h, ism_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate ism_[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 svcIsmCommon SHARED ${SRCS_common}) set_target_properties(svcIsmCommon PROPERTIES AUTOMOC ON) @@ -65,7 +73,9 @@ SET(SRCS_client parse_building_xml.h ) # generate ism_[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() NGL_ADD_LIBRARY(AAR SV WS HLA svcIsmClient SHARED ${SRCS_client}) set_target_properties(svcIsmClient PROPERTIES AUTOMOC ON) @@ -98,7 +108,9 @@ SET(SRCS_server convert_db_to_dds.h ) # generate ism_[d|f]ts.h, ism_[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(WS AAR SV svcIsmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcIsmServer @@ -123,7 +135,9 @@ NGL_INSTALL_TARGET(svcIsmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcInfrastructureManagement (sISM) ------------------------------------------------- @@ -181,7 +195,9 @@ SET(SRCS_exe ) # Generate ism.sql, ism.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 svcInfrastructureManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/MarkerManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/MarkerManagement/CMakeLists.txt index 7b8a22ab0..71387e3aa 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/MarkerManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/MarkerManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate mrk_enums.idl / mrk.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate mrk_db_impl.cpp/.h, mrk_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 mrk_enums.idl) RTIDDSGEN(SRCS_common mrk.idl) # Generate mrk_dt[s,c]_types.h, mrk_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate mrk_[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 svcMrkCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMrkCommon @@ -56,7 +64,9 @@ SET(SRCS_client mrk_export.h ) # generate mrk_[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() NGL_ADD_LIBRARY(AAR SV WS svcMrkClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMrkClient @@ -97,9 +107,13 @@ SET(SRCS_server ${xml_FILE} ) # generate mrk_[d|f]ts.h, mrk_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate mrk.sql, mrk.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcMrkServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMrkServer @@ -128,7 +142,9 @@ NGL_INSTALL_TARGET(svcMrkServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # Uncomment if necessary diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/Messaging/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/Messaging/CMakeLists.txt index 28e578dac..bf66ada81 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/Messaging/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/Messaging/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate msg_enums.idl / msg.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate msg_db_impl.cpp/.h, msg_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 msg_enums.idl) RTIDDSGEN(SRCS_common msg.idl) # Generate msg_dt[s,c]_types.h, msg_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate msg_[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 svcMsgCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMsgCommon @@ -57,7 +65,9 @@ SET(SRCS_client msg_export.h ) # generate msg_[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() NGL_ADD_LIBRARY(AAR SV WS svcMsgClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMsgClient @@ -83,7 +93,9 @@ SET(SRCS_server msg_export.h ) # generate msg_[d|f]ts.h, msg_[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(AAR SV svcMsgServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMsgServer @@ -106,7 +118,9 @@ NGL_INSTALL_TARGET(svcMsgServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcMessaging (sMSG) ------------------------------------------------- @@ -130,7 +144,9 @@ SET(SRCS_exe ) # Generate msg.sql, msg.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 svcMessaging ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/MeteoDataManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/MeteoDataManagement/CMakeLists.txt index 44acad74d..779cf3d34 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/MeteoDataManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/MeteoDataManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate mdm_enums.idl / mdm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate mdm_db_impl.cpp/.h, mdm_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 mdm_enums.idl) RTIDDSGEN(SRCS_common mdm.idl) # Generate mdm_dt[s,c]_types.h, mdm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate mdm_[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 svcMdmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMdmCommon @@ -56,7 +64,9 @@ SET(SRCS_client mdm_export.h ) # generate mdm_[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() NGL_ADD_LIBRARY(AAR SV WS svcMdmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMdmClient @@ -82,7 +92,9 @@ SET(SRCS_server mdm_export.h ) # generate mdm_[d|f]ts.h, mdm_[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(AAR SV svcMdmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcMdmServer @@ -105,7 +117,9 @@ NGL_INSTALL_TARGET(svcMdmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcMeteoDataManagement (sMDM) ------------------------------------------------- @@ -142,7 +156,9 @@ SET(SRCS_exe ) # Generate mdm.sql, mdm.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 svcMeteoDataManagement ${SRCS_exe} ${HDRS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/NmeaManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/NmeaManagement/CMakeLists.txt index 8f22e408e..613bae74d 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/NmeaManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/NmeaManagement/CMakeLists.txt @@ -19,16 +19,22 @@ SET(SRCS_common ) # Generate nme_enums.idl / nme.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate *.cpp/*.hpp from idl RTIDDSGEN(SRCS_common nme_enums.idl) RTIDDSGEN(SRCS_common nme.idl) # Generate nme_dt[s,c]_types.h, nme_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate nme_[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 svcNmeCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcNmeCommon @@ -53,7 +59,9 @@ SET(SRCS_client nme_export.h ) # generate nme_[d|f]tc.h, nme_[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() NGL_ADD_LIBRARY(AAR SV WS svcNmeClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcNmeClient @@ -79,9 +87,13 @@ SET(SRCS_server nme_export.h ) # generate nme_[d|f]ts.h, nme_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate nme_db_impl.cpp/.h, nme_db.h -CODEGEN_DATABASE(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_DATABASE(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcNmeServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcNmeServer @@ -104,7 +116,9 @@ NGL_INSTALL_TARGET(svcNmeServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcNmeaManagement (sNME) ------------------------------------------------- @@ -125,7 +139,9 @@ SET(SRCS_exe ) # Generate nme.sql, nme.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 svcNmeaManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/NotificationManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/NotificationManagement/CMakeLists.txt index 9b0fc2c6a..687306eb8 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/NotificationManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/NotificationManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate nom_enums.idl / nom.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate nom_db_impl.cpp/.h, nom_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 nom_enums.idl) RTIDDSGEN(SRCS_common nom.idl) # Generate nom_dt[s,c]_types.h, nom_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate nom_[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 svcNomCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcNomCommon @@ -57,7 +65,9 @@ SET(SRCS_client nom_export.h ) # generate nom_[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() NGL_ADD_LIBRARY(AAR SV WS svcNomClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcNomClient @@ -83,7 +93,9 @@ SET(SRCS_server nom_export.h ) # generate nom_[d|f]ts.h, nom_[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(AAR SV svcNomServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcNomServer @@ -106,7 +118,9 @@ NGL_INSTALL_TARGET(svcNomServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcNotificationManagement (sNOM) ------------------------------------------------- @@ -128,7 +142,9 @@ SET(SRCS_exe ) # Generate nom.sql, nom.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 svcNotificationManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/OcBaseDownload/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/OcBaseDownload/CMakeLists.txt index 54a61c21b..b5912eb98 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/OcBaseDownload/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/OcBaseDownload/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate obd_enums.idl / obd.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate obd_db_impl.cpp/.h, obd_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 obd_enums.idl) RTIDDSGEN(SRCS_common obd.idl) # Generate obd_dt[s,c]_types.h, obd_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate obd_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE} PARTS FTC) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE} PARTS FTC) +ENDIF() NGL_ADD_LIBRARY(SV WS svcObdCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcObdCommon @@ -56,7 +64,9 @@ SET(SRCS_client obd_export.h ) # generate obd_[d|f]tc.h, obd_[d|f]tc_impl.[cpp|h] -CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE} PARTS FTC) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE} PARTS FTC) +ENDIF() NGL_ADD_LIBRARY(SV WS svcObdClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcObdClient @@ -82,7 +92,9 @@ SET(SRCS_server obd_export.h ) # generate obd_[d|f]ts.h, obd_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE} PARTS FTS) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE} PARTS FTS) +ENDIF() NGL_ADD_LIBRARY(SV svcObdServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcObdServer @@ -105,7 +117,9 @@ NGL_INSTALL_TARGET(svcObdServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcOcBaseDownload (sOBD) ------------------------------------------------- @@ -143,7 +157,9 @@ SET(SRCS_exe ) # Generate obd.sql, obd.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(SV svcOcBaseDownload ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationClient/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationClient/CMakeLists.txt index 430504abc..f3c32d454 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationClient/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationClient/CMakeLists.txt @@ -32,18 +32,26 @@ ADD_CUSTOM_COMMAND(OUTPUT ${out_file_sql} ) # Generate osc_enums.idl / osc.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate osc_db_impl.cpp/.h, osc_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 osc_enums.idl) RTIDDSGEN(SRCS_common osc.idl) # Generate osc_dt[s,c]_types.h, osc_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate osc_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE} PARTS FTC) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE} PARTS FTC) +ENDIF() NGL_ADD_LIBRARY(SV WS svcOscCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOscCommon @@ -69,7 +77,9 @@ SET(SRCS_client osc_export.h ) # generate osc_[d|f]tc.h, osc_[d|f]tc_impl.[cpp|h] -CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE} PARTS FTC) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE} PARTS FTC) +ENDIF() NGL_ADD_LIBRARY(SV WS svcOscClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOscClient @@ -95,7 +105,9 @@ SET(SRCS_server osc_export.h ) # generate osc_[d|f]ts.h, osc_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE} PARTS FTS) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE} PARTS FTS) +ENDIF() NGL_ADD_LIBRARY(SV svcOscServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOscServer @@ -118,7 +130,9 @@ NGL_INSTALL_TARGET(svcOscServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcOcSituationClient (sOSC) ------------------------------------------------- @@ -146,7 +160,9 @@ SET(SRCS_exe ) # Generate osc.sql, osc.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(SV svcOcSituationClient ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationServer/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationServer/CMakeLists.txt index fc152f257..d3216c6c0 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationServer/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/OcSituationServer/CMakeLists.txt @@ -34,18 +34,26 @@ ADD_CUSTOM_COMMAND(OUTPUT ${out_file_sql} LIST(APPEND SRCS_common ${in_file_sql} ${out_file_sql}) # Generate oss_enums.idl / oss.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate oss_db_impl.cpp/.h, oss_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 oss_enums.idl) RTIDDSGEN(SRCS_common oss.idl) # Generate oss_dt[s,c]_types.h, oss_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate oss_[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 svcOssCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOssCommon @@ -72,7 +80,9 @@ SET(SRCS_client oss_export.h ) # generate oss_[d|f]tc.h, oss_[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() NGL_ADD_LIBRARY(AAR SV WS svcOssClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOssClient @@ -98,7 +108,9 @@ SET(SRCS_server oss_export.h ) # generate oss_[d|f]ts.h, oss_[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(AAR SV svcOssServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOssServer @@ -121,7 +133,9 @@ NGL_INSTALL_TARGET(svcOssServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- RecordReplayPlugin -------------------------------------------------------------- @@ -159,7 +173,9 @@ SET(SRCS_exe ) # Generate oss.sql, oss.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 svcOcSituationServer ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/OnlineReports/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/OnlineReports/CMakeLists.txt index 4b6268afa..4e86d4942 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/OnlineReports/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/OnlineReports/CMakeLists.txt @@ -11,7 +11,9 @@ SET(xml_FILE ore_service.xml) SET(SRCS_common ore_dummy.cpp) # 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() NGL_ADD_LIBRARY(AAR SV WS svcOreDummy SHARED ${SRCS_common}) NGL_TARGET_LINK_LIBRARIES(svcOreDummy PRIVATE diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/OperatorManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/OperatorManagement/CMakeLists.txt index 02f9d2727..b2fee5ff3 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/OperatorManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/OperatorManagement/CMakeLists.txt @@ -18,19 +18,25 @@ SET(SRCS_common logger.h ) -# Generate opm_enums.idl / opm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) -# Generate opm_db_impl.cpp/.h, opm_db.h -CODEGEN_DATABASE(SRCS_common ${xml_FILE}) - -# Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common opm_enums.idl) -RTIDDSGEN(SRCS_common opm.idl) - -# Generate opm_dt[s,c]_types.h, opm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) -# generate opm_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + # Generate opm_enums.idl / opm.idl + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) + # Generate opm_db_impl.cpp/.h, opm_db.h + CODEGEN_DATABASE(SRCS_common ${xml_FILE}) + # Generate *.cpp/*.hpp from idl + RTIDDSGEN(SRCS_common opm_enums.idl) + RTIDDSGEN(SRCS_common opm.idl) + # Generate opm_dt[s,c]_types.h, opm_ft[s,c]_types.h + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) + # generate opm_[d|f]tc.h + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +ELSE() + # BUILD_RTI=OFF: Use manual stub headers from include/ + LIST(APPEND SRCS_common + ${CMAKE_SOURCE_DIR}/include/OperatorManagement/opm_db.h + ${CMAKE_SOURCE_DIR}/include/OperatorManagement/opm_enums.hpp + ) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS svcOpmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOpmCommon @@ -58,8 +64,11 @@ SET(SRCS_client opm_dtc_impl_custom.cpp opm_dtc_impl_custom.h ) -# generate opm_ftc_impl.[cpp|h] -CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE}) + +IF(BUILD_RTI) + # generate opm_ftc_impl.[cpp|h] + CODEGEN_CLIENT_TOPICS_IMPL(SRCS_client ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS svcOpmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOpmClient @@ -84,8 +93,11 @@ NGL_INSTALL_TARGET(svcOpmClient) SET(SRCS_server opm_export.h ) -# generate opm_[d|f]ts.h, opm_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) + +IF(BUILD_RTI) + # generate opm_[d|f]ts.h, opm_[d|f]ts_impl.[cpp|h] + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcOpmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcOpmServer @@ -109,7 +121,9 @@ NGL_INSTALL_TARGET(svcOpmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcOperatorManagement (sOPM) ------------------------------------------------- @@ -153,8 +167,10 @@ SET(SRCS_exe ${xml_FILE} ) -# Generate opm.sql, opm.xml -CODEGEN_SQL(SRCS_exe ${xml_FILE}) +IF(BUILD_RTI) + # Generate opm.sql, opm.xml + CODEGEN_SQL(SRCS_exe ${xml_FILE}) +ENDIF() NGL_ADD_SVC_ICON(SRCS_exe) NGL_ADD_EXECUTABLE(AAR SV svcOperatorManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ParticipantManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ParticipantManagement/CMakeLists.txt index 6d1988421..f45fa470d 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ParticipantManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ParticipantManagement/CMakeLists.txt @@ -23,7 +23,9 @@ SET(SRCS_common ) # Generate ppm_enums.idl / ppm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate ppm_db_structs.cpp/.h CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE}) # Generate ppm_db.cpp, ppm_db_impl.cpp/.h @@ -34,9 +36,13 @@ RTIDDSGEN(SRCS_common ppm_enums.idl) RTIDDSGEN(SRCS_common ppm.idl) # Generate ppm_dt[s,c]_types.h, ppm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate ppm_[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 svcPpmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPpmCommon @@ -69,7 +75,9 @@ SET(SRCS_client ppm_dtc_impl_custom.h ) # generate ppm_[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() NGL_ADD_LIBRARY(WS AAR SV HLA svcPpmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPpmClient @@ -97,7 +105,9 @@ SET(SRCS_server ) # generate ppm_[d|f]ts.h, ppm_[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 RecordReplayPlugin NGL_ADD_LIBRARY(AAR SV WS svcPpmServer SHARED ${SRCS_server}) @@ -122,7 +132,9 @@ NGL_INSTALL_TARGET(svcPpmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- RecordReplayPlugin -------------------------------------------------------------- @@ -256,7 +268,9 @@ LIST(APPEND SRCS_exe ) # Generate ppm.sql, ppm.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 svcParticipantManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/PlanEditor/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/PlanEditor/CMakeLists.txt index e82a09b61..92aaa18be 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/PlanEditor/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/PlanEditor/CMakeLists.txt @@ -11,7 +11,9 @@ SET(xml_FILE ped_service.xml) SET(SRCS_common ped_dummy.cpp) # 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() NGL_ADD_LIBRARY(AAR SV WS svcPedDummy SHARED ${SRCS_common}) NGL_TARGET_LINK_LIBRARIES(svcPedDummy PRIVATE diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/PresentationManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/PresentationManagement/CMakeLists.txt index 47f86d24f..75e113601 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/PresentationManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/PresentationManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate pre_enums.idl / pre.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate pre_db_impl.cpp/.h, pre_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 pre_enums.idl) RTIDDSGEN(SRCS_common pre.idl) # Generate pre_dt[s,c]_types.h, pre_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate pre_[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 svcPreCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPreCommon @@ -56,7 +64,9 @@ SET(SRCS_client pre_export.h ) # generate pre_[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() NGL_ADD_LIBRARY(AAR SV WS svcPreClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPreClient @@ -92,9 +102,13 @@ SET(SRCS_server settings.h ) # generate pre_[d|f]ts.h, pre_[d|f]ts_impl.[cpp|h] -CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SERVER_TOPICS(SRCS_server ${xml_FILE}) +ENDIF() # Generate pre.sql, pre.xml -CODEGEN_SQL(SRCS_server ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_server ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcPreServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPreServer @@ -120,7 +134,9 @@ NGL_INSTALL_TARGET(svcPreServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # Uncomment if necessary #ADD_SUBDIRECTORY(UnitTests) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/CMakeLists.txt index e46e47ade..db67c53c0 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/CMakeLists.txt @@ -21,7 +21,9 @@ SET(SRCS_common ) # Generate pdm_enums.idl / pdm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate pdm_db.h CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE}) @@ -33,9 +35,13 @@ RTIDDSGEN(SRCS_common pdm_enums.idl) RTIDDSGEN(SRCS_common pdm.idl) # Generate pdm_dt[s,c]_types.h, pdm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate pdm_[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 $,svcPdmCommon,> SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES($,svcPdmCommon,> @@ -64,7 +70,9 @@ SET(SRCS_client pdm_dtc_impl_custom.h ) # generate pdm_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 HLA svcPdmClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPdmClient @@ -90,7 +98,9 @@ SET(SRCS_server pdm_export.h ) # generate pdm_[d|f]ts.h, pdm_[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(WS AAR SV svcPdmServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcPdmServer @@ -113,7 +123,9 @@ NGL_INSTALL_TARGET(svcPdmServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcProjectDataManagement (sPDM) ------------------------------------------------- @@ -139,7 +151,9 @@ LIST(APPEND SRCS_exe ) # Generate pdm.sql, pdm.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 svcProjectDataManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectionWorkstation/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectionWorkstation/CMakeLists.txt index 35555bf94..0c538c6c8 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectionWorkstation/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectionWorkstation/CMakeLists.txt @@ -11,7 +11,9 @@ SET(xml_FILE pws_service.xml) SET(SRCS_common pws_dummy.cpp) # Generate pws_dt[s,c]_types.h, pws_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS svcPwsCommon SHARED ${SRCS_common}) NGL_TARGET_LINK_LIBRARIES(svcPwsCommon PRIVATE diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/RecordingManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/RecordingManagement/CMakeLists.txt index c0f6ec6b9..84ba67f67 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/RecordingManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/RecordingManagement/CMakeLists.txt @@ -23,15 +23,21 @@ SET(SRCS_common ) # Generate rep_enums.idl / rep.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate rec_db_impl.cpp/.h, rec_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 rec_enums.idl) # Generate rec_dt[s,c]_types.h, rec_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV WS svcRecCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcRecCommon @@ -97,7 +103,9 @@ SET(SRCS_exe ) # Generate rec.sql, rec.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 svcRecordingManagement ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ReportManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ReportManagement/CMakeLists.txt index 44b14e00e..d3138e5d8 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ReportManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ReportManagement/CMakeLists.txt @@ -17,18 +17,26 @@ SET(SRCS_common ) # Generate rep_enums.idl / rep.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate rep_db_impl.cpp/.h, rep_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 rep_enums.idl) RTIDDSGEN(SRCS_common rep.idl) # Generate rep_dt[s,c]_types.h, rep_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate rep_[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 svcRepCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcRepCommon @@ -56,7 +64,9 @@ SET(SRCS_client rep_export.h ) # generate rep_[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() NGL_ADD_LIBRARY(AAR SV WS svcRepClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcRepClient @@ -82,7 +92,9 @@ SET(SRCS_server rep_export.h ) # generate rep_[d|f]ts.h, rep_[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(AAR SV svcRepServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcRepServer @@ -105,14 +117,18 @@ NGL_INSTALL_TARGET(svcRepServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Shared Executable parts for svcReportAnalyzer and svcReportGenerator --------- # # Generate rep.sql, rep.xml -CODEGEN_SQL(SHARED_SRCS_exe ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SHARED_SRCS_exe ${xml_FILE}) +ENDIF() NGL_ADD_LIBRARY(AAR SV svcRepCommonExecutable STATIC ${SHARED_SRCS_exe}) NGL_TARGET_LINK_LIBRARIES(svcRepCommonExecutable PUBLIC diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ScreenRecording/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ScreenRecording/CMakeLists.txt index 2531e31bb..f6d78b9c2 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ScreenRecording/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ScreenRecording/CMakeLists.txt @@ -11,7 +11,9 @@ SET(xml_FILE scr_service.xml) SET(SRCS_common scr_dummy.cpp) # 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() NGL_ADD_LIBRARY(AAR SV WS svcScrDummy SHARED ${SRCS_common}) NGL_TARGET_LINK_LIBRARIES(svcScrDummy PRIVATE diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceManagement/CMakeLists.txt index 3ced393cd..2d131ab43 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceManagement/CMakeLists.txt @@ -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 diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceMonitor/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceMonitor/CMakeLists.txt index 09d0e75fc..d1bf0482d 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceMonitor/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ServiceMonitor/CMakeLists.txt @@ -11,7 +11,9 @@ SET(xml_FILE smo_service.xml) SET(SRCS_common smo_dummy.cpp) # 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() NGL_ADD_LIBRARY(AAR SV WS svcSmoDummy SHARED ${SRCS_common}) NGL_TARGET_LINK_LIBRARIES(svcSmoDummy PRIVATE diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationMap/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationMap/CMakeLists.txt index 93290e1da..308c9ba8b 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationMap/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationMap/CMakeLists.txt @@ -11,7 +11,9 @@ SET(xml_FILE map_service.xml) SET(SRCS_common map_dummy.cpp) # 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() NGL_ADD_LIBRARY(WS AAR SV svcMapDummy SHARED ${SRCS_common}) NGL_TARGET_LINK_LIBRARIES(svcMapDummy PRIVATE diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplay/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplay/CMakeLists.txt index 593798438..f31a3132d 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplay/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplay/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate srp_enums.idl / srp.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate srp_db_impl.cpp/.h, srp_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 srp_enums.idl) RTIDDSGEN(SRCS_common srp.idl) # Generate srp_dt[s,c]_types.h, srp_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate srp_[d|f]tc.h -CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_CLIENT_TOPICS_IFC(SRCS_common ${xml_FILE}) +ENDIF() # SV needed for topic type plugin NGL_ADD_LIBRARY(WS AAR SV svcSrpCommon SHARED ${SRCS_common}) @@ -57,7 +65,9 @@ SET(SRCS_client srp_export.h ) # generate srp_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 svcSrpClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcSrpClient @@ -83,7 +93,9 @@ SET(SRCS_server srp_export.h ) # generate srp_[d|f]ts.h, srp_[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(AAR SV WS svcSrpServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcSrpServer @@ -106,7 +118,9 @@ NGL_INSTALL_TARGET(svcSrpServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcSituationReplay (sSrp) ------------------------------------------------- @@ -129,7 +143,9 @@ SET(SRCS_exe ) # Generate srp.sql, srp.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(WS AAR SV svcSituationReplay ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplayManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplayManagement/CMakeLists.txt index 296936df0..38471fe4a 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplayManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplayManagement/CMakeLists.txt @@ -19,16 +19,22 @@ SET(SRCS_common ) # Generate srm_enums.idl / srm.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate *.cpp/*.hpp from idl RTIDDSGEN(SRCS_common srm_enums.idl) RTIDDSGEN(SRCS_common srm.idl) # Generate srm_dt[s,c]_types.h, srm_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # generate srm_[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 svcSrmCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcSrmCommon diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/SoundManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/SoundManagement/CMakeLists.txt index 4b17bd5b4..262689a2d 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/SoundManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/SoundManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate som_enums.idl / som.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate som_db_impl.cpp/.h, som_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 som_enums.idl) RTIDDSGEN(SRCS_common som.idl) # Generate som_dt[s,c]_types.h, som_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate som_[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 svcSomCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcSomCommon @@ -56,7 +64,9 @@ SET(SRCS_client som_export.h ) # generate som_[d|f]tc.h, som_[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() NGL_ADD_LIBRARY(AAR SV WS svcSomClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcSomClient @@ -83,7 +93,9 @@ SET(SRCS_server ) # generate som_[d|f]ts.h, som_[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(AAR SV svcSomServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcSomServer @@ -106,7 +118,9 @@ NGL_INSTALL_TARGET(svcSomServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcSoundManagement (sSOM) ------------------------------------------------- @@ -125,7 +139,9 @@ SET(SRCS_exe ) # Generate som.sql, som.xml -CODEGEN_SQL(SRCS_exe ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_exe ${xml_FILE}) +ENDIF() NGL_ADD_EXECUTABLE(AAR SV svcSoundManagement ${SRCS_exe}) NGL_TARGET_LINK_LIBRARIES(svcSoundManagement diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/CMakeLists.txt index c264fa634..85b8d44ae 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate tgt_enums.idl / tgt.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate tgt_db_impl.cpp/.h, tgt_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 tgt_enums.idl) RTIDDSGEN(SRCS_common tgt.idl) # Generate tgt_dt[s,c]_types.h, tgt_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate tgt_[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 svcTgtCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcTgtCommon @@ -56,7 +64,9 @@ SET(SRCS_client tgt_export.h ) # generate tgt_[d|f]tc.h, tgt_[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() NGL_ADD_LIBRARY(AAR SV WS svcTgtClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcTgtClient @@ -83,7 +93,9 @@ SET(SRCS_server ) # generate tgt_[d|f]ts.h, tgt_[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(AAR SV svcTgtServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcTgtServer @@ -106,7 +118,9 @@ NGL_INSTALL_TARGET(svcTgtServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcTargetManagement (sTGT) ------------------------------------------------- @@ -139,7 +153,9 @@ SET(SRCS_exe ) # Generate tgt.sql, tgt.xml -CODEGEN_SQL(SRCS_exe ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_SQL(SRCS_exe ${xml_FILE}) +ENDIF() NGL_ADD_EXECUTABLE(AAR SV svcTargetManagement ${SRCS_exe}) NGL_TARGET_LINK_LIBRARIES(svcTargetManagement diff --git a/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/CMakeLists.txt b/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/CMakeLists.txt index df12bb659..f6a04221c 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/CMakeLists.txt @@ -19,18 +19,26 @@ SET(SRCS_common ) # Generate whg_enums.idl / whg.idl -CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_IDL_SVC(SRCS_common ${xml_FILE}) +ENDIF() # Generate whg_db_impl.cpp/.h, whg_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 whg_enums.idl) RTIDDSGEN(SRCS_common whg.idl) # Generate whg_dt[s,c]_types.h, whg_ft[s,c]_types.h -CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +IF(BUILD_RTI) + CODEGEN_TOPIC_TYPEDEFS(SRCS_common ${xml_FILE}) +ENDIF() # Generate whg_[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 svcWhgCommon SHARED ${SRCS_common}) NGL_TARGET_INCLUDE_DIRECTORIES(svcWhgCommon @@ -56,7 +64,9 @@ SET(SRCS_client whg_export.h ) # generate whg_[d|f]tc.h, whg_[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() NGL_ADD_LIBRARY(AAR SV WS svcWhgClient SHARED ${SRCS_client}) NGL_TARGET_INCLUDE_DIRECTORIES(svcWhgClient @@ -82,7 +92,9 @@ SET(SRCS_server whg_export.h ) # generate whg_[d|f]ts.h, whg_[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(AAR SV svcWhgServer SHARED ${SRCS_server}) NGL_TARGET_INCLUDE_DIRECTORIES(svcWhgServer @@ -105,7 +117,9 @@ NGL_INSTALL_TARGET(svcWhgServer) # # --- Topic Type Plugin -------------------------------------------------------------- # -CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +IF(BUILD_RTI) + CREATE_TOPIC_TYPE_PLUGIN(${xml_FILE}) +ENDIF() # # --- Executable svcWarehouseGuez (sWHG) ------------------------------------------------- @@ -159,7 +173,9 @@ SET(SRCS_exe ) # Generate whg.sql, whg.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 svcWarehouseGuez ${SRCS_exe}) diff --git a/qt6-after/qt6-migrated-legatus/include/Evaluations/evl_db_impl.h b/qt6-after/qt6-migrated-legatus/include/Evaluations/evl_db_impl.h new file mode 100644 index 000000000..2d74e86d2 --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/include/Evaluations/evl_db_impl.h @@ -0,0 +1,31 @@ +/** + * @RDE_HEADER@ + * Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF) + * This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON + * For BUILD_RTI=OFF builds, this stub provides the minimal interface + */ +#pragma once + +#include + +namespace Evaluations +{ + +/** + * @brief Base class for database interface implementation + * + * This class is normally generated by CODEGEN_DATABASE macro. + * This stub provides minimal interface for BUILD_RTI=OFF builds. + */ +class DatabaseInterfaceImpl : public QObject +{ + Q_OBJECT +public: + explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {} + virtual ~DatabaseInterfaceImpl() = default; + + // Virtual methods that can be overridden by custom implementations + virtual bool removeCategoryLinesPerNineLiner(qint64 nineLinerId) = 0; +}; + +} // namespace Evaluations \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/FileManagement/flm_db_impl.h b/qt6-after/qt6-migrated-legatus/include/FileManagement/flm_db_impl.h new file mode 100644 index 000000000..c665ad8ed --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/include/FileManagement/flm_db_impl.h @@ -0,0 +1,33 @@ +/** + * @RDE_HEADER@ + * Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF) + * This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON + * For BUILD_RTI=OFF builds, this stub provides the minimal interface + */ +#pragma once + +#include +#include + +namespace FileManagement +{ + +/** + * @brief Base class for database interface implementation + * + * This class is normally generated by CODEGEN_DATABASE macro. + * This stub provides minimal interface for BUILD_RTI=OFF builds. + */ +class DatabaseInterfaceImpl : public QObject +{ + Q_OBJECT +public: + explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {} + virtual ~DatabaseInterfaceImpl() = default; + + // Virtual methods that can be overridden by custom implementations + virtual bool updateStatus(int fileId, const FileStatus &status, int operatorId) = 0; + virtual bool setUsedBy(int fileId, const bool &usedBy, int usedNo, int operatorId) = 0; +}; + +} // namespace FileManagement \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/InfrastructureManagement/ism_db_impl.h b/qt6-after/qt6-migrated-legatus/include/InfrastructureManagement/ism_db_impl.h new file mode 100644 index 000000000..3f88295fa --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/include/InfrastructureManagement/ism_db_impl.h @@ -0,0 +1,46 @@ +/** + * @RDE_HEADER@ + * Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF) + * This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON + * For BUILD_RTI=OFF builds, this stub provides the minimal interface + */ +#pragma once + +#include +#include + +namespace Database +{ +// Stub struct for IsmMountingPointPlan +struct IsmMountingPointPlan +{ + int scheduleId = 0; + int mountingPointId = 0; + MountingPointState mountingPointState = MountingPointState::Unknown; +}; +} // namespace Database + +namespace InfrastructureManagement +{ + +/** + * @brief Base class for database interface implementation + * + * This class is normally generated by CODEGEN_DATABASE macro. + * This stub provides minimal interface for BUILD_RTI=OFF builds. + */ +class DatabaseInterfaceImpl : public QObject +{ + Q_OBJECT +public: + explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {} + virtual ~DatabaseInterfaceImpl() = default; + + // Virtual methods that can be overridden by custom implementations + virtual int copySchedule(int scheduleId) = 0; + virtual bool updateMountingPointPlan(int scheduleId, int mountingPointId, MountingPointState mountingPointState) = 0; + virtual bool deleteMountingPointPlan(int scheduleId, int mountingPointId) = 0; + virtual bool insertMountingPointPlans(const std::vector &mpps) = 0; +}; + +} // namespace InfrastructureManagement \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/OperatorManagement/opm_enums.hpp b/qt6-after/qt6-migrated-legatus/include/OperatorManagement/opm_enums.hpp new file mode 100644 index 000000000..56bdc5c96 --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/include/OperatorManagement/opm_enums.hpp @@ -0,0 +1,22 @@ +#pragma once + +namespace opm { + +enum class OperatorType +{ + Unknown = 0, + Supervisor, + Trainee, + Evaluator, + Observer +}; + +enum class OperatorStatus +{ + Unknown = 0, + Active, + Inactive, + Suspended +}; + +} // namespace opm \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/ParticipantManagement/ppm_db_impl.h b/qt6-after/qt6-migrated-legatus/include/ParticipantManagement/ppm_db_impl.h new file mode 100644 index 000000000..6983236a3 --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/include/ParticipantManagement/ppm_db_impl.h @@ -0,0 +1,41 @@ +/** + * @RDE_HEADER@ + * Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF) + * This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON + * For BUILD_RTI=OFF builds, this stub provides the minimal interface + */ +#pragma once + +#include + +namespace Database +{ +// Stub struct for EquipmentExerciseMapping +struct EquipmentExerciseMapping +{ + int equipmentId = 0; + int exerciseId = 0; +}; +} // namespace Database + +namespace ParticipantManagement +{ + +/** + * @brief Base class for database interface implementation + * + * This class is normally generated by CODEGEN_DATABASE macro. + * This stub provides minimal interface for BUILD_RTI=OFF builds. + */ +class DatabaseInterfaceImpl : public QObject +{ + Q_OBJECT +public: + explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {} + virtual ~DatabaseInterfaceImpl() = default; + + // Virtual methods that can be overridden by custom implementations + virtual bool removeEquipmentExerciseMapping(const Database::EquipmentExerciseMapping &equipmentExerciseMapping) = 0; +}; + +} // namespace ParticipantManagement \ No newline at end of file diff --git a/qt6-after/qt6-migrated-legatus/include/RecordingManagement/rec_db_impl.h b/qt6-after/qt6-migrated-legatus/include/RecordingManagement/rec_db_impl.h new file mode 100644 index 000000000..0d0c218f1 --- /dev/null +++ b/qt6-after/qt6-migrated-legatus/include/RecordingManagement/rec_db_impl.h @@ -0,0 +1,41 @@ +/** + * @RDE_HEADER@ + * Stub header for CODEGEN_DATABASE generated code (BUILD_RTI=OFF) + * This file is generated by CODEGEN_DATABASE macro when BUILD_RTI=ON + * For BUILD_RTI=OFF builds, this stub provides the minimal interface + */ +#pragma once + +#include + +namespace Database +{ +// Stub struct for RecSnapshot +struct RecSnapshot +{ + qint64 id = 0; + // Add other fields as needed +}; +} // namespace Database + +namespace RecordingManagement +{ + +/** + * @brief Base class for database interface implementation + * + * This class is normally generated by CODEGEN_DATABASE macro. + * This stub provides minimal interface for BUILD_RTI=OFF builds. + */ +class DatabaseInterfaceImpl : public QObject +{ + Q_OBJECT +public: + explicit DatabaseInterfaceImpl(QObject *parent = nullptr) : QObject(parent) {} + virtual ~DatabaseInterfaceImpl() = default; + + // Virtual methods that can be overridden by custom implementations + virtual bool removeNewerEqual(const Database::RecSnapshot &data) = 0; +}; + +} // namespace RecordingManagement \ No newline at end of file