CMake/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake

5 lines
105 B
CMake

add_library(StaticLib empty.cpp)
file(GENERATE OUTPUT test_output CONTENT $<TARGET_OBJECTS:StaticLib>)