diff options
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE_BASE_NAME.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE_BASE_NAME.cmake | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE_BASE_NAME.cmake b/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE_BASE_NAME.cmake deleted file mode 100644 index cc53bdf..0000000 --- a/Tests/RunCMake/GeneratorExpression/ValidTarget-TARGET_PDB_FILE_BASE_NAME.cmake +++ /dev/null @@ -1,16 +0,0 @@ - -enable_language(C) - -add_library(empty SHARED empty.c) - -get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(_isMultiConfig) - list(GET CMAKE_CONFIGURATION_TYPES 0 FIRST_CONFIG) - set(GENERATE_CONDITION CONDITION $<CONFIG:${FIRST_CONFIG}>) -endif() - -file(GENERATE - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt" - CONTENT "$<TARGET_PDB_FILE_BASE_NAME:empty>" - ${GENERATE_CONDITION} -) |