CMake/Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB...

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>]"
)