27 lines
1014 B
CMake
27 lines
1014 B
CMake
# Placeholder internal targets to allow partial configure during migration
|
|
# Creates IMPORTED targets for internal DDS generator targets that are not
|
|
# yet available in the repository. These placeholders allow CMake checks
|
|
# like "if(TARGET ddsgen)" to behave consistently and let subdirs add
|
|
# tests during migration. They should be removed/replaced when real
|
|
# targets are added during module migration.
|
|
|
|
if(NOT TARGET ddsgen)
|
|
add_library(ddsgen UNKNOWN IMPORTED)
|
|
set_target_properties(ddsgen PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
|
|
endif()
|
|
|
|
if(NOT TARGET ddsdtc)
|
|
add_library(ddsdtc UNKNOWN IMPORTED)
|
|
set_target_properties(ddsdtc PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
|
|
endif()
|
|
|
|
if(NOT TARGET ddsfts)
|
|
add_library(ddsfts UNKNOWN IMPORTED)
|
|
set_target_properties(ddsfts PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
|
|
endif()
|
|
|
|
if(NOT TARGET ddsQoS)
|
|
add_library(ddsQoS UNKNOWN IMPORTED)
|
|
set_target_properties(ddsQoS PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
|
|
endif()
|