Integrates unittests for lts/services/s almost successfull into final validation phase
This commit is contained in:
46 files changed
+307
-108
No files matched your search
@@ -22,16 +22,37 @@ SET(SRCS_common
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_IDL_SVC(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# Stub file for compilation (fallback when no IDL exists)
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_SOURCE_DIR}/include/SituationReplay/srp_enums.hpp.stub
|
||||
${CMAKE_BINARY_DIR}/Lts/Services/SituationReplay/srp_enums.hpp
|
||||
COPYONLY
|
||||
)
|
||||
|
||||
# Generate srp_db_impl.cpp/.h, srp_db.h
|
||||
IF(BUILD_RTI)
|
||||
CODEGEN_DATABASE(SRCS_common ${xml_FILE})
|
||||
ENDIF()
|
||||
# Copy srp_enums.hpp.stub to build directory for compilation
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_SOURCE_DIR}/include/SituationReplay/srp_enums.hpp.stub
|
||||
${CMAKE_BINARY_DIR}/Lts/Services/SituationReplay/srp_enums.hpp
|
||||
COPYONLY
|
||||
)
|
||||
|
||||
|
||||
# Generate *.cpp/*.hpp from idl
|
||||
IF(BUILD_RTI)
|
||||
RTIDDSGEN(SRCS_common srp_enums.idl)
|
||||
RTIDDSGEN(SRCS_common srp.idl)
|
||||
ENDIF()
|
||||
# Copy srp_enums.hpp.stub to build directory for compilation
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_SOURCE_DIR}/include/SituationReplay/srp_enums.hpp.stub
|
||||
${CMAKE_BINARY_DIR}/Lts/Services/SituationReplay/srp_enums.hpp
|
||||
COPYONLY
|
||||
)
|
||||
|
||||
|
||||
# Generate srp_dt[s,c]_types.h, srp_ft[s,c]_types.h
|
||||
IF(BUILD_RTI)
|
||||
|
||||
Reference in new issue
Block a user