CMake/Tests/RunCMake/GeneratorExpression
Brad King 344d149ae4 VS,Xcode: Add CMakeLists.txt sources without mutating targets
Rather than injecting `CMakeLists.txt` files into each target's
`SOURCES`, teach the generators to add them during generation using
dedicated code.  This avoids mutating the original targets, and avoids
polluting `$<TARGET_PROPERTY:foo,SOURCES>` with generator-specific
content.

This also avoids listing the `CMakeLists.txt` sources in the results of
`CMAKE_DEBUG_TARGET_PROPERTIES==SOURCES` so the `RunCMake.TargetSources`
test no longer needs a separate case for IDEs.
2017-10-18 14:24:07 -04:00
..
BadAND-result.txt
BadAND-stderr.txt
BadAND.cmake
BadCONFIG-result.txt
BadCONFIG-stderr.txt
BadCONFIG.cmake
BadIF-result.txt Genex: Add IF generator expression 2017-01-26 11:18:50 -05:00
BadIF-stderr.txt Genex: Add IF generator expression 2017-01-26 11:18:50 -05:00
BadIF.cmake Genex: Add IF generator expression 2017-01-26 11:18:50 -05:00
BadInstallPrefix-result.txt
BadInstallPrefix-stderr.txt
BadInstallPrefix.cmake
BadNOT-result.txt
BadNOT-stderr.txt
BadNOT.cmake
BadOR-result.txt
BadOR-stderr.txt
BadOR.cmake
BadSHELL_PATH-result.txt Genex: Add a SHELL_PATH expression 2015-09-28 10:37:33 -04:00
BadSHELL_PATH-stderr.txt Genex: Add a SHELL_PATH expression 2015-09-28 10:37:33 -04:00
BadSHELL_PATH.cmake Genex: Add a SHELL_PATH expression 2015-09-28 10:37:33 -04:00
BadStrEqual-result.txt
BadStrEqual-stderr.txt
BadStrEqual.cmake
BadTargetName-result.txt
BadTargetName-stderr.txt
BadTargetName.cmake
BadTargetTypeInterface-result.txt Tests: Add case for rejecting $<TARGET_FILE:...> on an INTERFACE library 2015-05-26 11:53:36 -04:00
BadTargetTypeInterface-stderr.txt Tests: Add case for rejecting $<TARGET_FILE:...> on an INTERFACE library 2015-05-26 11:53:36 -04:00
BadTargetTypeInterface.cmake Tests: Add case for rejecting $<TARGET_FILE:...> on an INTERFACE library 2015-05-26 11:53:36 -04:00
BadTargetTypeObject-result.txt
BadTargetTypeObject-stderr.txt
BadTargetTypeObject.cmake
BadZero-result.txt
BadZero-stderr.txt
BadZero.cmake
CMakeLists.txt
CMP0044-WARN-result.txt
CMP0044-WARN-stderr.txt
CMP0044-WARN.cmake
COMPILE_LANGUAGE-add_custom_command-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_custom_command-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-add_custom_command.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_custom_target-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_custom_target-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-add_custom_target.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_executable-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_executable-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-add_executable.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_library-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_library-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-add_library.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_test-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-add_test-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-add_test.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-install-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-install-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-install.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-target_sources-result.txt Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-target_sources-stderr.txt cmGeneratorExpressionNode: add some missing commas 2017-08-03 13:39:58 -04:00
COMPILE_LANGUAGE-target_sources.cmake Genex: Add a COMPILE_LANGUAGE generator expression. 2015-03-07 13:19:45 +01:00
COMPILE_LANGUAGE-unknown-lang-result.txt Genex: Enable use of COMPILE_LANGUAGE for compile options. 2015-03-09 20:48:57 +01:00
COMPILE_LANGUAGE-unknown-lang-stderr.txt Genex: Enable use of COMPILE_LANGUAGE for compile options. 2015-03-09 20:48:57 +01:00
COMPILE_LANGUAGE-unknown-lang.cmake Genex: Enable use of COMPILE_LANGUAGE for compile options. 2015-03-09 20:48:57 +01:00
empty2.c Genex: Fix TARGET_PROPERTY value of SOURCES 2017-09-01 10:23:37 -04:00
empty3.c Genex: Fix TARGET_PROPERTY value of SOURCES 2017-09-01 10:23:37 -04:00
empty.c
ImportedTarget-TARGET_BUNDLE_CONTENT_DIR-result.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
ImportedTarget-TARGET_BUNDLE_CONTENT_DIR-stderr.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
ImportedTarget-TARGET_BUNDLE_CONTENT_DIR.cmake Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
ImportedTarget-TARGET_BUNDLE_DIR-result.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
ImportedTarget-TARGET_BUNDLE_DIR-stderr.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
ImportedTarget-TARGET_BUNDLE_DIR.cmake Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
ImportedTarget-TARGET_PDB_FILE-result.txt Reject TARGET_PDB_FILE for imported targets instead of crashing 2015-08-06 09:42:31 -04:00
ImportedTarget-TARGET_PDB_FILE-stderr.txt Reject TARGET_PDB_FILE for imported targets instead of crashing 2015-08-06 09:42:31 -04:00
ImportedTarget-TARGET_PDB_FILE.cmake Reject TARGET_PDB_FILE for imported targets instead of crashing 2015-08-06 09:42:31 -04:00
LINK_ONLY-not-linking-result.txt Genex: Diagnose invalid LINK_ONLY usage instead of crashing 2016-09-05 09:06:00 -04:00
LINK_ONLY-not-linking-stderr.txt Genex: Diagnose invalid LINK_ONLY usage instead of crashing 2016-09-05 09:06:00 -04:00
LINK_ONLY-not-linking.cmake Genex: Diagnose invalid LINK_ONLY usage instead of crashing 2016-09-05 09:06:00 -04:00
NonValidCompiler-TARGET_PDB_FILE-result.txt
NonValidCompiler-TARGET_PDB_FILE-stderr.txt
NonValidCompiler-TARGET_PDB_FILE.cmake
NonValidTarget-C_COMPILER_ID-result.txt
NonValidTarget-C_COMPILER_ID-stderr.txt
NonValidTarget-C_COMPILER_ID.cmake
NonValidTarget-C_COMPILER_VERSION-result.txt
NonValidTarget-C_COMPILER_VERSION-stderr.txt
NonValidTarget-C_COMPILER_VERSION.cmake
NonValidTarget-CXX_COMPILER_ID-result.txt
NonValidTarget-CXX_COMPILER_ID-stderr.txt
NonValidTarget-CXX_COMPILER_ID.cmake
NonValidTarget-CXX_COMPILER_VERSION-result.txt
NonValidTarget-CXX_COMPILER_VERSION-stderr.txt
NonValidTarget-CXX_COMPILER_VERSION.cmake
NonValidTarget-TARGET_BUNDLE_CONTENT_DIR-result.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
NonValidTarget-TARGET_BUNDLE_CONTENT_DIR-stderr.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
NonValidTarget-TARGET_BUNDLE_CONTENT_DIR.cmake Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
NonValidTarget-TARGET_BUNDLE_DIR-result.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
NonValidTarget-TARGET_BUNDLE_DIR-stderr.txt Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
NonValidTarget-TARGET_BUNDLE_DIR.cmake Genex: Add TARGET_BUNDLE_[CONTENT_]_DIR generator expressions 2017-03-30 22:24:54 +02:00
NonValidTarget-TARGET_PDB_FILE-result.txt
NonValidTarget-TARGET_PDB_FILE-stderr.txt
NonValidTarget-TARGET_PDB_FILE.cmake
NonValidTarget-TARGET_POLICY-result.txt
NonValidTarget-TARGET_POLICY-stderr.txt
NonValidTarget-TARGET_POLICY.cmake
NonValidTarget-TARGET_PROPERTY-result.txt
NonValidTarget-TARGET_PROPERTY-stderr.txt
NonValidTarget-TARGET_PROPERTY.cmake
OUTPUT_NAME-recursion-result.txt cmGeneratorTarget: Avoid recursion in GetOutputName method 2015-08-20 09:56:45 -04:00
OUTPUT_NAME-recursion-stderr.txt cmGeneratorTarget: Avoid recursion in GetOutputName method 2015-08-20 09:56:45 -04:00
OUTPUT_NAME-recursion.cmake cmGeneratorTarget: Avoid recursion in GetOutputName method 2015-08-20 09:56:45 -04:00
RunCMakeTest.cmake Genex: Fix TARGET_PROPERTY value of SOURCES 2017-09-01 10:23:37 -04:00
TARGET_FILE-recursion-result.txt Add generator expression support to OUTPUT_DIRECTORY target properties 2015-08-12 13:43:00 -04:00
TARGET_FILE-recursion-stderr.txt Add generator expression support to OUTPUT_DIRECTORY target properties 2015-08-12 13:43:00 -04:00
TARGET_FILE-recursion.cmake cmGeneratorTarget: Avoid recursion in GetOutputName method 2015-08-20 09:56:45 -04:00
TARGET_PROPERTY-LOCATION-stderr.txt cmTarget: Move sanity checks and computed property access to callers 2016-10-16 13:56:12 +02:00
TARGET_PROPERTY-LOCATION.cmake Fix crash on $<TARGET_PROPERTY:...,LOCATION> genex (#16134) 2016-06-02 10:58:38 -04:00
TARGET_PROPERTY-SOURCES-check.cmake VS,Xcode: Add CMakeLists.txt sources without mutating targets 2017-10-18 14:24:07 -04:00
TARGET_PROPERTY-SOURCES.cmake Genex: Fix TARGET_PROPERTY value of SOURCES 2017-09-01 10:23:37 -04:00
ValidTarget-TARGET_PDB_FILE-check.cmake Encoding: Modify tests to work using non-ascii paths. 2015-01-08 20:56:51 -07:00
ValidTarget-TARGET_PDB_FILE.cmake