summaryrefslogtreecommitdiffstats
path: root/Tests/Dependency/Case3/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-23 04:40:32 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-23 04:40:32 (GMT)
commit464a6cbf349b563c379849cb8ca69b0c26b89552 (patch)
tree7452f3b2a562b177f8f940031232e97e1f4ae190 /Tests/Dependency/Case3/CMakeLists.txt
parent85c983885b6c926e826e826c76c309cc738e1749 (diff)
downloadCMake-464a6cbf349b563c379849cb8ca69b0c26b89552.zip
CMake-464a6cbf349b563c379849cb8ca69b0c26b89552.tar.gz
CMake-464a6cbf349b563c379849cb8ca69b0c26b89552.tar.bz2
ENH: Add test of preservation of static libraries on original link lines.
Diffstat (limited to 'Tests/Dependency/Case3/CMakeLists.txt')
-rw-r--r--Tests/Dependency/Case3/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Dependency/Case3/CMakeLists.txt b/Tests/Dependency/Case3/CMakeLists.txt
new file mode 100644
index 0000000..f01dd05
--- /dev/null
+++ b/Tests/Dependency/Case3/CMakeLists.txt
@@ -0,0 +1,10 @@
+project(CASE3 C)
+
+add_library(case3Foo1 STATIC foo1.c foo1b.c)
+add_library(case3Foo2 STATIC foo2.c)
+
+add_executable(case3Bar bar.c)
+target_link_libraries(case3Bar case3Foo1 case3Foo2 case3Foo1)
+
+#set_property(GLOBAL PROPERTY GLOBAL_DEPENDS_DEBUG_MODE 1)
+#set(CMAKE_LINK_DEPENDS_DEBUG_MODE 1)