Deletes the two stub-header trees (249 files) that shadowed the real
rtiddsgen-generated DDS headers, and removes every reference to them.
CMake (15 include-path entries):
root CMakeLists.txt include_directories(.../forward-declarations);
NGL_TARGET_INCLUDE_DIRECTORIES entries in 7 service CMakeLists
(ServiceManagement, SoundManagement, SituationMap, ScreenRecording,
SituationReplayManagement, SituationReplay, ServiceMonitor)
Source includes that resolved to the root-level stubs (only 2, repointed to the
module-prefixed generated headers the rest of the tree already uses):
Lts/Services/AreaEffectSimulation/object_charge_effect.h
<aes_dtc.h> -> <AreaEffectSimulation/aes_dtc.h>
Lts/Proxies/TrainingAreaBaseOC/websocket_handler.h
<taboc_dtc.h> -> <TrainingAreaBaseOC/taboc_dtc.h>
(generic_dtc_impl.h needs no change: its quote-include "generic_dtc.h"
resolves to the real Lts/DDS/DTC/generic_dtc.h in the same directory)
Tests:
tests/test_migration_stubs.cpp: remove the redundant root-level stub test
(AesDtcCompiles) - the module-prefixed AreaEffectSimulationDtcCompiles test
already exercises the same AreaEffectSimulation::Interface header.
tests/test_skl_dtc.cpp: delete (removed-module compile test, already filtered
out of the build) and remove its now-obsolete CMake list(FILTER) exclusion.
Validation: full rebuild (build4, make -j4 -k) with the removal - 0 new compile
errors vs the pre-existing base-state baseline (77 unique real-error signatures
identical to baseline; all 15 'No such file' headers pre-existing).
28 lines
529 B
CMake
Executable File
28 lines
529 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
INCLUDE(MacroCodeGenIdl)
|
|
|
|
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
|
|
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
|
|
Qt6::Core
|
|
)
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(svcSmoDummy
|
|
PUBLIC
|
|
${CMAKE_CURRENT_BINARY_DIR}/..
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
)
|
|
NGL_INSTALL_TARGET(svcSmoDummy)
|