CMake/Tests/RunCMake/target_compile_features/alias_target.cmake

5 lines
144 B
CMake

add_executable(main empty.cpp)
add_executable(Alias::Main ALIAS main)
target_compile_features(Alias::Main PRIVATE cxx_delegating_constructors)