diff options
author | Brad King <brad.king@kitware.com> | 2017-09-15 11:49:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-15 12:58:02 (GMT) |
commit | f1f109e9713d0d4e5cc61853d8edd70ccbd055ee (patch) | |
tree | 8e4ea5972a421ff1f5b126fc8c016210739ca539 /Tests/SameName | |
parent | c0c5f924fe46fcf83603117689b372cb8520c4bb (diff) | |
download | CMake-f1f109e9713d0d4e5cc61853d8edd70ccbd055ee.zip CMake-f1f109e9713d0d4e5cc61853d8edd70ccbd055ee.tar.gz CMake-f1f109e9713d0d4e5cc61853d8edd70ccbd055ee.tar.bz2 |
Tests: Drop tests that have not run for over 10 years
Diffstat (limited to 'Tests/SameName')
-rw-r--r-- | Tests/SameName/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Tests/SameName/Exe1/CMakeLists.txt | 11 | ||||
-rw-r--r-- | Tests/SameName/Exe1/conly.c | 11 | ||||
-rw-r--r-- | Tests/SameName/Lib1/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/SameName/Lib1/libc1.c | 4 | ||||
-rw-r--r-- | Tests/SameName/Lib1/libc1.h | 1 |
6 files changed, 0 insertions, 35 deletions
diff --git a/Tests/SameName/CMakeLists.txt b/Tests/SameName/CMakeLists.txt deleted file mode 100644 index d78879d..0000000 --- a/Tests/SameName/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -cmake_minimum_required (VERSION 2.6) -project(SameName C) - -add_subdirectory(Lib1) - -include_directories(${PROJECT_SOURCE_DIR}/Lib1) -add_subdirectory(Exe1) diff --git a/Tests/SameName/Exe1/CMakeLists.txt b/Tests/SameName/Exe1/CMakeLists.txt deleted file mode 100644 index b9182f2..0000000 --- a/Tests/SameName/Exe1/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -# a target with the same name as a target in a different dir -add_executable(mytest_exe conly.c) -set_target_properties(mytest_exe PROPERTIES OUTPUT_NAME mytest) -target_link_libraries(mytest_exe mytest) - -# and two targets in the same dir with the same name -add_library(mytest2 ../Lib1/libc1.c) - -add_executable(mytest2_exe conly.c) -set_target_properties(mytest2_exe PROPERTIES OUTPUT_NAME mytest2) -target_link_libraries(mytest2_exe mytest2) diff --git a/Tests/SameName/Exe1/conly.c b/Tests/SameName/Exe1/conly.c deleted file mode 100644 index 8f2ce05..0000000 --- a/Tests/SameName/Exe1/conly.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "libc1.h" -#include <stdio.h> - -int main() -{ - if (LibC1Func() != 2.0) { - printf("Problem with libc1\n"); - return 1; - } - return 0; -} diff --git a/Tests/SameName/Lib1/CMakeLists.txt b/Tests/SameName/Lib1/CMakeLists.txt deleted file mode 100644 index 40fa154..0000000 --- a/Tests/SameName/Lib1/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -add_library(mytest libc1.c) diff --git a/Tests/SameName/Lib1/libc1.c b/Tests/SameName/Lib1/libc1.c deleted file mode 100644 index b01e1e1..0000000 --- a/Tests/SameName/Lib1/libc1.c +++ /dev/null @@ -1,4 +0,0 @@ -float LibC1Func() -{ - return 2.0; -} diff --git a/Tests/SameName/Lib1/libc1.h b/Tests/SameName/Lib1/libc1.h deleted file mode 100644 index 84c94a9..0000000 --- a/Tests/SameName/Lib1/libc1.h +++ /dev/null @@ -1 +0,0 @@ -extern float LibC1Func(); |