summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Case2/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-06 19:52:12 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-06 19:52:12 (GMT)
commit1cba430d1bcbf62f0d012cd2f243d57c54881c07 (patch)
treef78d20d94730611c36b1bbd9cc3244cedf5ef233 /Tests/Dependency/Case2/CMakeLists.txt
parent0cb622a28b3d19e9681a315b5690c8aa496e83a4 (diff)
downloadCMake-1cba430d1bcbf62f0d012cd2f243d57c54881c07.zip
CMake-1cba430d1bcbf62f0d012cd2f243d57c54881c07.tar.gz
CMake-1cba430d1bcbf62f0d012cd2f243d57c54881c07.tar.bz2
ENH: Combine all dependency* tests into one Dependency test. Add more difficult test cases.
Diffstat (limited to 'Tests/Dependency/Case2/CMakeLists.txt')
-rw-r--r--Tests/Dependency/Case2/CMakeLists.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/Dependency/Case2/CMakeLists.txt b/Tests/Dependency/Case2/CMakeLists.txt
new file mode 100644
index 0000000..764338e
--- /dev/null
+++ b/Tests/Dependency/Case2/CMakeLists.txt
@@ -0,0 +1,20 @@
+project(CASE2 C)
+
+add_library(case2Foo1 STATIC foo1.c)
+add_library(case2Foo2 STATIC foo2.c)
+add_library(case2Foo3 STATIC foo3.c)
+target_link_libraries(case2Foo1 case2Foo2)
+target_link_libraries(case2Foo2 case2Foo3)
+target_link_libraries(case2Foo3 case2Foo1)
+
+add_library(case2Bar1 STATIC bar1.c)
+add_library(case2Bar2 STATIC bar2.c)
+add_library(case2Bar3 STATIC bar3.c)
+target_link_libraries(case2Bar1 case2Bar2 case2Foo1)
+target_link_libraries(case2Bar2 case2Bar3)
+target_link_libraries(case2Bar3 case2Bar1)
+
+add_executable(case2Zot zot.c)
+target_link_libraries(case2Zot case2Bar1)
+
+#set_property(GLOBAL PROPERTY GLOBAL_DEPENDS_DEBUG_MODE 1)