Files
CMake/Tests/RunCMake/TargetObjects/NotObjlibTarget.cmake
Brad King 69050f4d16 Tests: Use full output paths in file(GENERATE) calls
We don't define behavior for relative paths to the OUTPUT argument.
Fix our tests to use full paths.
2017-06-08 13:31:33 -04:00

4 lines
132 B
CMake

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