Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/cmake/PlaceholderInternalTargets.cmake
T

31 lines
1.4 KiB
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)
# Qt6 Migration: Removed INTERFACE_POSITION_INDEPENDENT_CODE - conflicts with Qt6 reduce_relocations
# set_target_properties(ddsgen PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
endif()
if(NOT TARGET ddsdtc)
add_library(ddsdtc UNKNOWN IMPORTED)
# Qt6 Migration: Removed INTERFACE_POSITION_INDEPENDENT_CODE - conflicts with Qt6 reduce_relocations
# set_target_properties(ddsdtc PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
endif()
if(NOT TARGET ddsfts)
add_library(ddsfts UNKNOWN IMPORTED)
# Qt6 Migration: Removed INTERFACE_POSITION_INDEPENDENT_CODE - conflicts with Qt6 reduce_relocations
# set_target_properties(ddsfts PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
endif()
if(NOT TARGET ddsQoS)
add_library(ddsQoS UNKNOWN IMPORTED)
# Qt6 Migration: Removed INTERFACE_POSITION_INDEPENDENT_CODE - conflicts with Qt6 reduce_relocations
# set_target_properties(ddsQoS PROPERTIES INTERFACE_POSITION_INDEPENDENT_CODE ON)
endif()