1 2 3 4 5 6 7 8 9
enable_language(C) add_library(empty STATIC empty.c) file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt" CONTENT "[$<TARGET_PDB_FILE:empty>]" )