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

10 lines
159 B
CMake

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