CMake/Tests/RunCMake/TargetObjects/NoTarget.cmake

3 lines
70 B
CMake

file(GENERATE OUTPUT test_output CONTENT $<TARGET_OBJECTS:NoTarget>)