From e855ed7fdee75e5669847192f5c2c1d088db6f5f Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 15 Nov 2022 10:22:35 -0500 Subject: Tests: Rename RunCMake.TargetPropertyGeneratorExpressions for consistency Rename the test to `RunCMake.GenEx-TARGET_PROPERTY` for consistency with the other `RunCMake.GenEx-*` test names. --- Tests/RunCMake/CMakeLists.txt | 2 +- .../BadInvalidName-result.txt | 1 + .../BadInvalidName-stderr.txt | 52 ++++++++++++++++++++++ .../GenEx-TARGET_PROPERTY/BadInvalidName.cmake | 8 ++++ .../BadInvalidName1/CMakeLists.txt | 2 + .../BadInvalidName2/CMakeLists.txt | 2 + .../BadInvalidName3/CMakeLists.txt | 2 + .../BadInvalidName4/CMakeLists.txt | 2 + .../BadInvalidName5/CMakeLists.txt | 2 + .../BadInvalidName6/CMakeLists.txt | 2 + .../BadInvalidName7/CMakeLists.txt | 2 + .../BadInvalidName8/CMakeLists.txt | 2 + .../GenEx-TARGET_PROPERTY/BadNonTarget-result.txt | 1 + .../GenEx-TARGET_PROPERTY/BadNonTarget-stderr.txt | 10 +++++ .../GenEx-TARGET_PROPERTY/BadNonTarget.cmake | 6 +++ .../BadSelfReference-result.txt | 1 + .../BadSelfReference-stderr.txt | 39 ++++++++++++++++ .../GenEx-TARGET_PROPERTY/BadSelfReference.cmake | 6 +++ .../BadSelfReference1/CMakeLists.txt | 2 + .../BadSelfReference2/CMakeLists.txt | 2 + .../BadSelfReference3/CMakeLists.txt | 2 + .../BadSelfReference4/CMakeLists.txt | 2 + .../BadSelfReference5/CMakeLists.txt | 2 + .../BadSelfReference6/CMakeLists.txt | 2 + .../RunCMake/GenEx-TARGET_PROPERTY/CMakeLists.txt | 8 ++++ .../LinkImplementationCycle1-result.txt | 1 + .../LinkImplementationCycle1-stderr.txt | 10 +++++ .../LinkImplementationCycle1.cmake | 8 ++++ .../LinkImplementationCycle2-result.txt | 1 + .../LinkImplementationCycle2-stderr.txt | 10 +++++ .../LinkImplementationCycle2.cmake | 8 ++++ .../LinkImplementationCycle3-result.txt | 1 + .../LinkImplementationCycle3.cmake | 10 +++++ .../LinkImplementationCycle4-result.txt | 1 + .../LinkImplementationCycle4-stderr.txt | 10 +++++ .../LinkImplementationCycle4.cmake | 14 ++++++ .../LinkImplementationCycle5-result.txt | 1 + .../LinkImplementationCycle5-stderr.txt | 10 +++++ .../LinkImplementationCycle5.cmake | 10 +++++ .../LinkImplementationCycle6-result.txt | 1 + .../LinkImplementationCycle6-stderr.txt | 10 +++++ .../LinkImplementationCycle6.cmake | 14 ++++++ .../GenEx-TARGET_PROPERTY/RunCMakeTest.cmake | 11 +++++ Tests/RunCMake/GenEx-TARGET_PROPERTY/empty.cpp | 7 +++ Tests/RunCMake/GenEx-TARGET_PROPERTY/main.cpp | 4 ++ .../BadInvalidName-result.txt | 1 - .../BadInvalidName-stderr.txt | 52 ---------------------- .../BadInvalidName.cmake | 8 ---- .../BadInvalidName1/CMakeLists.txt | 2 - .../BadInvalidName2/CMakeLists.txt | 2 - .../BadInvalidName3/CMakeLists.txt | 2 - .../BadInvalidName4/CMakeLists.txt | 2 - .../BadInvalidName5/CMakeLists.txt | 2 - .../BadInvalidName6/CMakeLists.txt | 2 - .../BadInvalidName7/CMakeLists.txt | 2 - .../BadInvalidName8/CMakeLists.txt | 2 - .../BadNonTarget-result.txt | 1 - .../BadNonTarget-stderr.txt | 10 ----- .../BadNonTarget.cmake | 7 --- .../BadSelfReference-result.txt | 1 - .../BadSelfReference-stderr.txt | 39 ---------------- .../BadSelfReference.cmake | 6 --- .../BadSelfReference1/CMakeLists.txt | 2 - .../BadSelfReference2/CMakeLists.txt | 2 - .../BadSelfReference3/CMakeLists.txt | 2 - .../BadSelfReference4/CMakeLists.txt | 2 - .../BadSelfReference5/CMakeLists.txt | 2 - .../BadSelfReference6/CMakeLists.txt | 2 - .../CMakeLists.txt | 8 ---- .../LinkImplementationCycle1-result.txt | 1 - .../LinkImplementationCycle1-stderr.txt | 10 ----- .../LinkImplementationCycle1.cmake | 8 ---- .../LinkImplementationCycle2-result.txt | 1 - .../LinkImplementationCycle2-stderr.txt | 10 ----- .../LinkImplementationCycle2.cmake | 8 ---- .../LinkImplementationCycle3-result.txt | 1 - .../LinkImplementationCycle3.cmake | 10 ----- .../LinkImplementationCycle4-result.txt | 1 - .../LinkImplementationCycle4-stderr.txt | 10 ----- .../LinkImplementationCycle4.cmake | 14 ------ .../LinkImplementationCycle5-result.txt | 1 - .../LinkImplementationCycle5-stderr.txt | 10 ----- .../LinkImplementationCycle5.cmake | 10 ----- .../LinkImplementationCycle6-result.txt | 1 - .../LinkImplementationCycle6-stderr.txt | 10 ----- .../LinkImplementationCycle6.cmake | 14 ------ .../RunCMakeTest.cmake | 11 ----- .../TargetPropertyGeneratorExpressions/empty.cpp | 7 --- .../TargetPropertyGeneratorExpressions/main.cpp | 4 -- 89 files changed, 303 insertions(+), 304 deletions(-) create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName1/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName2/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName3/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName4/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName5/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName6/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName7/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName8/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference1/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference2/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference3/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference4/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference5/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference6/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/CMakeLists.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/RunCMakeTest.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/empty.cpp create mode 100644 Tests/RunCMake/GenEx-TARGET_PROPERTY/main.cpp delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName1/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName2/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName3/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName4/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName5/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName6/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName7/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName8/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference1/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference2/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference3/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference4/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference5/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference6/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/CMakeLists.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-result.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-stderr.txt delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/empty.cpp delete mode 100644 Tests/RunCMake/TargetPropertyGeneratorExpressions/main.cpp diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index ad5cbb2..1174d0d 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -351,6 +351,7 @@ add_RunCMake_test(GenEx-LINK_LIBRARY) add_RunCMake_test(GenEx-LINK_GROUP) add_RunCMake_test(GenEx-TARGET_FILE -DLINKER_SUPPORTS_PDB=${LINKER_SUPPORTS_PDB}) add_RunCMake_test(GenEx-GENEX_EVAL) +add_RunCMake_test(GenEx-TARGET_PROPERTY) add_RunCMake_test(GenEx-TARGET_RUNTIME_DLLS) add_RunCMake_test(GenEx-PATH) add_RunCMake_test(GenEx-PATH_EQUAL) @@ -365,7 +366,6 @@ add_RunCMake_test(GetPrerequisites -DSAMPLE_EXE=$) add_RunCMake_test(GNUInstallDirs -DSYSTEM_NAME=${CMAKE_SYSTEM_NAME}) add_RunCMake_test(GoogleTest) # Note: does not actually depend on Google Test add_RunCMake_test(Graphviz) -add_RunCMake_test(TargetPropertyGeneratorExpressions) add_RunCMake_test(Languages) add_RunCMake_test(LinkItemValidation) add_RunCMake_test(LinkStatic) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-stderr.txt new file mode 100644 index 0000000..6da79b7 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName-stderr.txt @@ -0,0 +1,52 @@ +^(CMake Error at BadInvalidName1/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + Target name not supported. ++)+(CMake Error at BadInvalidName2/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + Target name and property name not supported. ++)+(CMake Error at BadInvalidName3/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + Property name not supported. ++)+(CMake Error at BadInvalidName4/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + Property name not supported. ++)+(CMake Error at BadInvalidName5/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + \$ expression requires a non-empty target name and + property name. ++)+(CMake Error at BadInvalidName6/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + \$ expression requires a non-empty target name. ++)+(CMake Error at BadInvalidName7/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + \$ expression requires a non-empty property name. ++)+(CMake Error at BadInvalidName8/CMakeLists\.txt:[0-9]+ \(include_directories\): + Error evaluating generator expression: + + \$ + + \$ expression requires a non-empty property name. +*)+ ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName.cmake new file mode 100644 index 0000000..5f083e2 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName.cmake @@ -0,0 +1,8 @@ +add_subdirectory(BadInvalidName1) +add_subdirectory(BadInvalidName2) +add_subdirectory(BadInvalidName3) +add_subdirectory(BadInvalidName4) +add_subdirectory(BadInvalidName5) +add_subdirectory(BadInvalidName6) +add_subdirectory(BadInvalidName7) +add_subdirectory(BadInvalidName8) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName1/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName1/CMakeLists.txt new file mode 100644 index 0000000..13e1de7 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName1/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName1 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName2/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName2/CMakeLists.txt new file mode 100644 index 0000000..4b78472 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName2/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName2 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName3/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName3/CMakeLists.txt new file mode 100644 index 0000000..516a049 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName3/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName3 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName4/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName4/CMakeLists.txt new file mode 100644 index 0000000..02f2a1a --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName4/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName4 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName5/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName5/CMakeLists.txt new file mode 100644 index 0000000..a653583 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName5/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName5 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName6/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName6/CMakeLists.txt new file mode 100644 index 0000000..614458e --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName6/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName6 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName7/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName7/CMakeLists.txt new file mode 100644 index 0000000..8a9fe80 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName7/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName7 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName8/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName8/CMakeLists.txt new file mode 100644 index 0000000..b228159 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadInvalidName8/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadInvalidName8 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-stderr.txt new file mode 100644 index 0000000..0c9320b --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at BadNonTarget.cmake:6 \(include_directories\): + Error evaluating generator expression: + + \$ + + Target "NonExistent" not found. +Call Stack \(most recent call first\): + CMakeLists\.txt:[0-9]+ \(include\) ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget.cmake new file mode 100644 index 0000000..334d7c3 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadNonTarget.cmake @@ -0,0 +1,6 @@ + +file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp" + "int main(int, char **) { return 0; }\n") + +add_executable(main "${CMAKE_CURRENT_BINARY_DIR}/main.cpp") +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-stderr.txt new file mode 100644 index 0000000..fa26861 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference-stderr.txt @@ -0,0 +1,39 @@ +^(CMake Error: + Error evaluating generator expression: + + \$ + + Self reference on target "BadSelfReference1". ++)+(CMake Error: + Error evaluating generator expression: + + \$ + + Self reference on target "BadSelfReference2". ++)+(CMake Error: + Error evaluating generator expression: + + \$ + + Self reference on target "BadSelfReference3". ++)+(CMake Error: + Error evaluating generator expression: + + \$ + + Self reference on target "BadSelfReference4". ++)+(CMake Error: + Error evaluating generator expression: + + \$ + + Self reference on target "BadSelfReference5". ++)+(CMake Error: + Error evaluating generator expression: + + \$ + + Self reference on target "BadSelfReference6". +*)+ ++ +CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake new file mode 100644 index 0000000..5a99f7a --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference.cmake @@ -0,0 +1,6 @@ +add_subdirectory(BadSelfReference1) +add_subdirectory(BadSelfReference2) +add_subdirectory(BadSelfReference3) +add_subdirectory(BadSelfReference4) +add_subdirectory(BadSelfReference5) +add_subdirectory(BadSelfReference6) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference1/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference1/CMakeLists.txt new file mode 100644 index 0000000..30c27f5 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference1/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadSelfReference1 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference2/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference2/CMakeLists.txt new file mode 100644 index 0000000..c2322f4 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference2/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadSelfReference2 ../main.cpp) +set_property(TARGET BadSelfReference2 PROPERTY INCLUDE_DIRECTORIES "$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference3/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference3/CMakeLists.txt new file mode 100644 index 0000000..3e6c30a --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference3/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadSelfReference3 ../main.cpp) +include_directories("$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference4/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference4/CMakeLists.txt new file mode 100644 index 0000000..f79727a --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference4/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadSelfReference4 ../main.cpp) +set_property(TARGET BadSelfReference4 PROPERTY INCLUDE_DIRECTORIES "$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference5/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference5/CMakeLists.txt new file mode 100644 index 0000000..c0badbf --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference5/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadSelfReference5 ../main.cpp) +set_property(TARGET BadSelfReference5 PROPERTY COMPILE_DEFINITIONS "$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference6/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference6/CMakeLists.txt new file mode 100644 index 0000000..fcb6b3c --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/BadSelfReference6/CMakeLists.txt @@ -0,0 +1,2 @@ +add_executable(BadSelfReference6 ../main.cpp) +set_property(TARGET BadSelfReference6 PROPERTY COMPILE_DEFINITIONS "$") diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/CMakeLists.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/CMakeLists.txt new file mode 100644 index 0000000..c3922d6 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/CMakeLists.txt @@ -0,0 +1,8 @@ + +cmake_minimum_required(VERSION 3.3) +project(${RunCMake_TEST} CXX) + +# MSVC creates extra targets which pollute the stderr unless we set this. +set(CMAKE_SUPPRESS_REGENERATION TRUE) + +include(${RunCMake_TEST}.cmake) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-stderr.txt new file mode 100644 index 0000000..8bff68e --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at LinkImplementationCycle1.cmake:5 \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ expression in link libraries evaluation depends on + target property which is transitive over the link libraries, creating a + recursion. +Call Stack \(most recent call first\): + CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake new file mode 100644 index 0000000..4b60214 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake @@ -0,0 +1,8 @@ + +add_library(empty1 empty.cpp) +add_library(empty2 empty.cpp) + +target_link_libraries(empty1 + LINK_PUBLIC + $<$,/foo/bar>:empty2> +) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-stderr.txt new file mode 100644 index 0000000..044b77c --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at LinkImplementationCycle2.cmake:5 \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ expression in link libraries evaluation depends on + target property which is transitive over the link libraries, creating a + recursion. +Call Stack \(most recent call first\): + CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2.cmake new file mode 100644 index 0000000..557eac1 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle2.cmake @@ -0,0 +1,8 @@ + +add_library(empty1 empty.cpp) +add_library(empty2 empty.cpp) + +target_link_libraries(empty1 + LINK_PUBLIC + $<$,/foo/bar>:empty2> +) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3-result.txt new file mode 100644 index 0000000..573541a --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3-result.txt @@ -0,0 +1 @@ +0 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3.cmake new file mode 100644 index 0000000..0f921d4 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle3.cmake @@ -0,0 +1,10 @@ + +add_library(empty1 empty.cpp) +add_library(empty2 empty.cpp) + +# This is OK, because evaluating the INCLUDE_DIRECTORIES is not affected by +# the content of the INTERFACE_LINK_LIBRARIES. +target_link_libraries(empty1 + INTERFACE + $<$,/foo/bar>:empty2> +) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-stderr.txt new file mode 100644 index 0000000..d56b199 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4-stderr.txt @@ -0,0 +1,10 @@ +^CMake Error at LinkImplementationCycle4.cmake:[0-9]+ \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ expression in link libraries evaluation depends on + target property which is transitive over the link libraries, creating a + recursion. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4.cmake new file mode 100644 index 0000000..ab6d0b2 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle4.cmake @@ -0,0 +1,14 @@ + +add_library(empty1 empty.cpp) +add_library(empty2 empty.cpp) + +# The INTERFACE_INCLUDE_DIRECTORIES do not depend on the link interface. +# On its own, this is fine. It is only when used by empty3 that an error +# is appropriately issued. +target_link_libraries(empty1 + INTERFACE + $<$,/foo/bar>:empty2> +) + +add_library(empty3 empty.cpp) +target_link_libraries(empty3 empty1) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-stderr.txt new file mode 100644 index 0000000..cf4e6d7 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5-stderr.txt @@ -0,0 +1,10 @@ +^CMake Error at LinkImplementationCycle5.cmake:[0-9]+ \(set_property\): + Error evaluating generator expression: + + \$ + + \$ expression in link libraries evaluation depends on + target property which is transitive over the link libraries, creating a + recursion. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5.cmake new file mode 100644 index 0000000..dc180e3 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle5.cmake @@ -0,0 +1,10 @@ + +add_library(empty1 INTERFACE IMPORTED) +add_library(empty2 INTERFACE IMPORTED) + +set_property(TARGET empty1 PROPERTY INTERFACE_LINK_LIBRARIES + $<$,/foo/bar>:empty2> +) + +add_library(empty3 empty.cpp) +target_link_libraries(empty3 empty1) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-result.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-stderr.txt b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-stderr.txt new file mode 100644 index 0000000..93cb573 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6-stderr.txt @@ -0,0 +1,10 @@ +^CMake Error at LinkImplementationCycle6.cmake:[0-9]+ \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ expression in link libraries evaluation depends on + target property which is transitive over the link libraries, creating a + recursion. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6.cmake new file mode 100644 index 0000000..91252d0 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle6.cmake @@ -0,0 +1,14 @@ + +add_library(empty1 SHARED empty.cpp) +add_library(empty2 SHARED empty.cpp) + +# The INTERFACE_INCLUDE_DIRECTORIES do not depend on the link interface. +# On its own, this is fine. It is only when used by empty3 that an error +# is appropriately issued. +target_link_libraries(empty1 + INTERFACE + $<$,/foo/bar>:empty2> +) + +add_library(empty3 SHARED empty.cpp) +target_link_libraries(empty3 empty1) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/RunCMakeTest.cmake new file mode 100644 index 0000000..4294e9f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/RunCMakeTest.cmake @@ -0,0 +1,11 @@ +include(RunCMake) + +run_cmake(BadSelfReference) +run_cmake(BadNonTarget) +run_cmake(BadInvalidName) +run_cmake(LinkImplementationCycle1) +run_cmake(LinkImplementationCycle2) +run_cmake(LinkImplementationCycle3) +run_cmake(LinkImplementationCycle4) +run_cmake(LinkImplementationCycle5) +run_cmake(LinkImplementationCycle6) diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/empty.cpp b/Tests/RunCMake/GenEx-TARGET_PROPERTY/empty.cpp new file mode 100644 index 0000000..11ec041 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/empty.cpp @@ -0,0 +1,7 @@ +#ifdef _WIN32 +__declspec(dllexport) +#endif + int empty() +{ + return 0; +} diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/main.cpp b/Tests/RunCMake/GenEx-TARGET_PROPERTY/main.cpp new file mode 100644 index 0000000..f8b643a --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/main.cpp @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-stderr.txt deleted file mode 100644 index 6da79b7..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName-stderr.txt +++ /dev/null @@ -1,52 +0,0 @@ -^(CMake Error at BadInvalidName1/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - Target name not supported. -+)+(CMake Error at BadInvalidName2/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - Target name and property name not supported. -+)+(CMake Error at BadInvalidName3/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - Property name not supported. -+)+(CMake Error at BadInvalidName4/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - Property name not supported. -+)+(CMake Error at BadInvalidName5/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - \$ expression requires a non-empty target name and - property name. -+)+(CMake Error at BadInvalidName6/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - \$ expression requires a non-empty target name. -+)+(CMake Error at BadInvalidName7/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - \$ expression requires a non-empty property name. -+)+(CMake Error at BadInvalidName8/CMakeLists\.txt:[0-9]+ \(include_directories\): - Error evaluating generator expression: - - \$ - - \$ expression requires a non-empty property name. -*)+ -+ -CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName.cmake deleted file mode 100644 index 5f083e2..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName.cmake +++ /dev/null @@ -1,8 +0,0 @@ -add_subdirectory(BadInvalidName1) -add_subdirectory(BadInvalidName2) -add_subdirectory(BadInvalidName3) -add_subdirectory(BadInvalidName4) -add_subdirectory(BadInvalidName5) -add_subdirectory(BadInvalidName6) -add_subdirectory(BadInvalidName7) -add_subdirectory(BadInvalidName8) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName1/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName1/CMakeLists.txt deleted file mode 100644 index 13e1de7..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName1/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName1 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName2/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName2/CMakeLists.txt deleted file mode 100644 index 4b78472..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName2/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName2 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName3/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName3/CMakeLists.txt deleted file mode 100644 index 516a049..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName3/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName3 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName4/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName4/CMakeLists.txt deleted file mode 100644 index 02f2a1a..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName4/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName4 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName5/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName5/CMakeLists.txt deleted file mode 100644 index a653583..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName5/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName5 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName6/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName6/CMakeLists.txt deleted file mode 100644 index 614458e..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName6/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName6 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName7/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName7/CMakeLists.txt deleted file mode 100644 index 8a9fe80..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName7/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName7 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName8/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName8/CMakeLists.txt deleted file mode 100644 index b228159..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadInvalidName8/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadInvalidName8 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-stderr.txt deleted file mode 100644 index d40b16b..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at BadNonTarget.cmake:7 \(include_directories\): - Error evaluating generator expression: - - \$ - - Target "NonExistent" not found. -Call Stack \(most recent call first\): - CMakeLists\.txt:[0-9]+ \(include\) -+ -CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake deleted file mode 100644 index 97d81e9..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp" - "int main(int, char **) { return 0; }\n") - -add_executable(TargetPropertyGeneratorExpressions - "${CMAKE_CURRENT_BINARY_DIR}/main.cpp") -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-stderr.txt deleted file mode 100644 index fa26861..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference-stderr.txt +++ /dev/null @@ -1,39 +0,0 @@ -^(CMake Error: - Error evaluating generator expression: - - \$ - - Self reference on target "BadSelfReference1". -+)+(CMake Error: - Error evaluating generator expression: - - \$ - - Self reference on target "BadSelfReference2". -+)+(CMake Error: - Error evaluating generator expression: - - \$ - - Self reference on target "BadSelfReference3". -+)+(CMake Error: - Error evaluating generator expression: - - \$ - - Self reference on target "BadSelfReference4". -+)+(CMake Error: - Error evaluating generator expression: - - \$ - - Self reference on target "BadSelfReference5". -+)+(CMake Error: - Error evaluating generator expression: - - \$ - - Self reference on target "BadSelfReference6". -*)+ -+ -CMake Generate step failed\. Build files cannot be regenerated correctly\.$ diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference.cmake deleted file mode 100644 index 5a99f7a..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference.cmake +++ /dev/null @@ -1,6 +0,0 @@ -add_subdirectory(BadSelfReference1) -add_subdirectory(BadSelfReference2) -add_subdirectory(BadSelfReference3) -add_subdirectory(BadSelfReference4) -add_subdirectory(BadSelfReference5) -add_subdirectory(BadSelfReference6) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference1/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference1/CMakeLists.txt deleted file mode 100644 index 30c27f5..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference1/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadSelfReference1 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference2/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference2/CMakeLists.txt deleted file mode 100644 index c2322f4..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference2/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadSelfReference2 ../main.cpp) -set_property(TARGET BadSelfReference2 PROPERTY INCLUDE_DIRECTORIES "$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference3/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference3/CMakeLists.txt deleted file mode 100644 index 3e6c30a..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference3/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadSelfReference3 ../main.cpp) -include_directories("$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference4/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference4/CMakeLists.txt deleted file mode 100644 index f79727a..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference4/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadSelfReference4 ../main.cpp) -set_property(TARGET BadSelfReference4 PROPERTY INCLUDE_DIRECTORIES "$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference5/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference5/CMakeLists.txt deleted file mode 100644 index c0badbf..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference5/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadSelfReference5 ../main.cpp) -set_property(TARGET BadSelfReference5 PROPERTY COMPILE_DEFINITIONS "$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference6/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference6/CMakeLists.txt deleted file mode 100644 index fcb6b3c..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadSelfReference6/CMakeLists.txt +++ /dev/null @@ -1,2 +0,0 @@ -add_executable(BadSelfReference6 ../main.cpp) -set_property(TARGET BadSelfReference6 PROPERTY COMPILE_DEFINITIONS "$") diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/CMakeLists.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/CMakeLists.txt deleted file mode 100644 index c3922d6..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ - -cmake_minimum_required(VERSION 3.3) -project(${RunCMake_TEST} CXX) - -# MSVC creates extra targets which pollute the stderr unless we set this. -set(CMAKE_SUPPRESS_REGENERATION TRUE) - -include(${RunCMake_TEST}.cmake) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-stderr.txt deleted file mode 100644 index 8bff68e..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at LinkImplementationCycle1.cmake:5 \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ expression in link libraries evaluation depends on - target property which is transitive over the link libraries, creating a - recursion. -Call Stack \(most recent call first\): - CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake deleted file mode 100644 index 4b60214..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake +++ /dev/null @@ -1,8 +0,0 @@ - -add_library(empty1 empty.cpp) -add_library(empty2 empty.cpp) - -target_link_libraries(empty1 - LINK_PUBLIC - $<$,/foo/bar>:empty2> -) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-stderr.txt deleted file mode 100644 index 044b77c..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at LinkImplementationCycle2.cmake:5 \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ expression in link libraries evaluation depends on - target property which is transitive over the link libraries, creating a - recursion. -Call Stack \(most recent call first\): - CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2.cmake deleted file mode 100644 index 557eac1..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle2.cmake +++ /dev/null @@ -1,8 +0,0 @@ - -add_library(empty1 empty.cpp) -add_library(empty2 empty.cpp) - -target_link_libraries(empty1 - LINK_PUBLIC - $<$,/foo/bar>:empty2> -) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3-result.txt deleted file mode 100644 index 573541a..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3-result.txt +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3.cmake deleted file mode 100644 index 0f921d4..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle3.cmake +++ /dev/null @@ -1,10 +0,0 @@ - -add_library(empty1 empty.cpp) -add_library(empty2 empty.cpp) - -# This is OK, because evaluating the INCLUDE_DIRECTORIES is not affected by -# the content of the INTERFACE_LINK_LIBRARIES. -target_link_libraries(empty1 - INTERFACE - $<$,/foo/bar>:empty2> -) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-stderr.txt deleted file mode 100644 index d56b199..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -^CMake Error at LinkImplementationCycle4.cmake:[0-9]+ \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ expression in link libraries evaluation depends on - target property which is transitive over the link libraries, creating a - recursion. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4.cmake deleted file mode 100644 index ab6d0b2..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle4.cmake +++ /dev/null @@ -1,14 +0,0 @@ - -add_library(empty1 empty.cpp) -add_library(empty2 empty.cpp) - -# The INTERFACE_INCLUDE_DIRECTORIES do not depend on the link interface. -# On its own, this is fine. It is only when used by empty3 that an error -# is appropriately issued. -target_link_libraries(empty1 - INTERFACE - $<$,/foo/bar>:empty2> -) - -add_library(empty3 empty.cpp) -target_link_libraries(empty3 empty1) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-stderr.txt deleted file mode 100644 index cf4e6d7..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -^CMake Error at LinkImplementationCycle5.cmake:[0-9]+ \(set_property\): - Error evaluating generator expression: - - \$ - - \$ expression in link libraries evaluation depends on - target property which is transitive over the link libraries, creating a - recursion. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5.cmake deleted file mode 100644 index dc180e3..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle5.cmake +++ /dev/null @@ -1,10 +0,0 @@ - -add_library(empty1 INTERFACE IMPORTED) -add_library(empty2 INTERFACE IMPORTED) - -set_property(TARGET empty1 PROPERTY INTERFACE_LINK_LIBRARIES - $<$,/foo/bar>:empty2> -) - -add_library(empty3 empty.cpp) -target_link_libraries(empty3 empty1) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-result.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-stderr.txt b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-stderr.txt deleted file mode 100644 index 93cb573..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -^CMake Error at LinkImplementationCycle6.cmake:[0-9]+ \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ expression in link libraries evaluation depends on - target property which is transitive over the link libraries, creating a - recursion. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6.cmake deleted file mode 100644 index 91252d0..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle6.cmake +++ /dev/null @@ -1,14 +0,0 @@ - -add_library(empty1 SHARED empty.cpp) -add_library(empty2 SHARED empty.cpp) - -# The INTERFACE_INCLUDE_DIRECTORIES do not depend on the link interface. -# On its own, this is fine. It is only when used by empty3 that an error -# is appropriately issued. -target_link_libraries(empty1 - INTERFACE - $<$,/foo/bar>:empty2> -) - -add_library(empty3 SHARED empty.cpp) -target_link_libraries(empty3 empty1) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake deleted file mode 100644 index 4294e9f..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/RunCMakeTest.cmake +++ /dev/null @@ -1,11 +0,0 @@ -include(RunCMake) - -run_cmake(BadSelfReference) -run_cmake(BadNonTarget) -run_cmake(BadInvalidName) -run_cmake(LinkImplementationCycle1) -run_cmake(LinkImplementationCycle2) -run_cmake(LinkImplementationCycle3) -run_cmake(LinkImplementationCycle4) -run_cmake(LinkImplementationCycle5) -run_cmake(LinkImplementationCycle6) diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/empty.cpp b/Tests/RunCMake/TargetPropertyGeneratorExpressions/empty.cpp deleted file mode 100644 index 11ec041..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/empty.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#ifdef _WIN32 -__declspec(dllexport) -#endif - int empty() -{ - return 0; -} diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/main.cpp b/Tests/RunCMake/TargetPropertyGeneratorExpressions/main.cpp deleted file mode 100644 index f8b643a..0000000 --- a/Tests/RunCMake/TargetPropertyGeneratorExpressions/main.cpp +++ /dev/null @@ -1,4 +0,0 @@ -int main() -{ - return 0; -} -- cgit v0.12