CMake/Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PDB_F...

10 lines
159 B
CMake
Raw Normal View History

enable_language(C)
add_library(empty STATIC empty.c)
file(GENERATE
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt"
CONTENT "[$<TARGET_PDB_FILE:empty>]"
)