From afda2a82a8d448ac2a8f65f5214e6e2f47a4af52 Mon Sep 17 00:00:00 2001 From: twi-devel Date: Fri, 4 Sep 2026 21:24:03 +0200 Subject: [PATCH] Fixes rti 7.7 codegen invocations --- .../Lts/Services/AreaEffectSimulation/CMakeLists.txt | 6 ++++-- .../Lts/Services/AudioVideoManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/Evaluations/CMakeLists.txt | 6 ++++-- .../Lts/Services/ExerciseEventManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/InfrastructureManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/OcBaseDownload/CMakeLists.txt | 6 ++++-- .../Lts/Services/PresentationManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/ProjectDataManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/SituationReplayManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/SoundManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/TargetManagement/CMakeLists.txt | 6 ++++-- .../Lts/Services/WarehouseGuez/CMakeLists.txt | 6 ++++-- 12 files changed, 48 insertions(+), 24 deletions(-) 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 dc123950f..76cc8738e 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/AreaEffectSimulation/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/AreaEffectSimulation/CMakeLists.txt @@ -79,8 +79,10 @@ CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) CODEGEN_DAO(SRCS_common ${xml_FILE}) # Generate *.cpp/*.hpp from aes_enums.idl / aes.idl -RTIDDSGEN(SRCS_common aes_enums.idl) -RTIDDSGEN(SRCS_common aes.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common aes_enums.idl) + RTIDDSGEN(SRCS_common aes.idl) +ENDIF() # Generate aes_dt[s,c]_types.h, aes_ft[s,c]_types.h IF(BUILD_RTI) 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 9876e7d93..68fd5ff33 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/AudioVideoManagement/CMakeLists.txt @@ -121,8 +121,10 @@ ENDIF() CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common avm_enums.idl) -RTIDDSGEN(SRCS_common avm.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common avm_enums.idl) + RTIDDSGEN(SRCS_common avm.idl) +ENDIF() # Generate avm_dt[s,c]_types.h, avm_ft[s,c]_types.h IF(BUILD_RTI) 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 e10a5f6af..8fb785bfd 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/Evaluations/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/Evaluations/CMakeLists.txt @@ -33,8 +33,10 @@ CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE}) # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common evl_enums.idl) -RTIDDSGEN(SRCS_common evl.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common evl_enums.idl) + RTIDDSGEN(SRCS_common evl.idl) +ENDIF() # Generate evl_dt[s,c]_types.h, evl_ft[s,c]_types.h IF(BUILD_RTI) 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 4d713bc54..31f403a33 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseEventManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ExerciseEventManagement/CMakeLists.txt @@ -36,8 +36,10 @@ CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE}) CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common eem_enums.idl) -RTIDDSGEN(SRCS_common eem.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common eem_enums.idl) + RTIDDSGEN(SRCS_common eem.idl) +ENDIF() # Generate eem_dt[s,c]_types.h, eem_ft[s,c]_types.h IF(BUILD_RTI) 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 ff582b84a..62495323b 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/InfrastructureManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/InfrastructureManagement/CMakeLists.txt @@ -39,8 +39,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common ism_enums.idl) -RTIDDSGEN(SRCS_common ism.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common ism_enums.idl) + RTIDDSGEN(SRCS_common ism.idl) +ENDIF() # Generate ism_dt[s,c]_types.h, ism_ft[s,c]_types.h IF(BUILD_RTI) 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 b5912eb98..dbd32f506 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/OcBaseDownload/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/OcBaseDownload/CMakeLists.txt @@ -28,8 +28,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common obd_enums.idl) -RTIDDSGEN(SRCS_common obd.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common obd_enums.idl) + RTIDDSGEN(SRCS_common obd.idl) +ENDIF() # Generate obd_dt[s,c]_types.h, obd_ft[s,c]_types.h IF(BUILD_RTI) 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 75e113601..464ea2716 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/PresentationManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/PresentationManagement/CMakeLists.txt @@ -28,8 +28,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common pre_enums.idl) -RTIDDSGEN(SRCS_common pre.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common pre_enums.idl) + RTIDDSGEN(SRCS_common pre.idl) +ENDIF() # Generate pre_dt[s,c]_types.h, pre_ft[s,c]_types.h IF(BUILD_RTI) 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 3779727e4..a6312e283 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/ProjectDataManagement/CMakeLists.txt @@ -31,8 +31,10 @@ CODEGEN_DATABASE_STRUCTS(SRCS_common ${xml_FILE}) CODEGEN_DATABASE_SQL(SRCS_common ${xml_FILE}) # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common pdm_enums.idl) -RTIDDSGEN(SRCS_common pdm.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common pdm_enums.idl) + RTIDDSGEN(SRCS_common pdm.idl) +ENDIF() # Generate pdm_dt[s,c]_types.h, pdm_ft[s,c]_types.h IF(BUILD_RTI) 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 38471fe4a..db0eb422a 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplayManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/SituationReplayManagement/CMakeLists.txt @@ -24,8 +24,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common srm_enums.idl) -RTIDDSGEN(SRCS_common srm.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common srm_enums.idl) + RTIDDSGEN(SRCS_common srm.idl) +ENDIF() # Generate srm_dt[s,c]_types.h, srm_ft[s,c]_types.h IF(BUILD_RTI) 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 262689a2d..6740ce899 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/SoundManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/SoundManagement/CMakeLists.txt @@ -28,8 +28,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common som_enums.idl) -RTIDDSGEN(SRCS_common som.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common som_enums.idl) + RTIDDSGEN(SRCS_common som.idl) +ENDIF() # Generate som_dt[s,c]_types.h, som_ft[s,c]_types.h IF(BUILD_RTI) 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 85b8d44ae..07e516785 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/TargetManagement/CMakeLists.txt @@ -28,8 +28,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common tgt_enums.idl) -RTIDDSGEN(SRCS_common tgt.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common tgt_enums.idl) + RTIDDSGEN(SRCS_common tgt.idl) +ENDIF() # Generate tgt_dt[s,c]_types.h, tgt_ft[s,c]_types.h IF(BUILD_RTI) 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 f6a04221c..9b5dac467 100755 --- a/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/CMakeLists.txt +++ b/qt6-after/qt6-migrated-legatus/Lts/Services/WarehouseGuez/CMakeLists.txt @@ -28,8 +28,10 @@ IF(BUILD_RTI) ENDIF() # Generate *.cpp/*.hpp from idl -RTIDDSGEN(SRCS_common whg_enums.idl) -RTIDDSGEN(SRCS_common whg.idl) +IF(BUILD_RTI) + RTIDDSGEN(SRCS_common whg_enums.idl) + RTIDDSGEN(SRCS_common whg.idl) +ENDIF() # Generate whg_dt[s,c]_types.h, whg_ft[s,c]_types.h IF(BUILD_RTI)