summaryrefslogtreecommitdiff
path: root/Tests/OutOfBinary
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-09 21:25:58 -0400
committerBrad King <brad.king@kitware.com>2006-10-09 21:25:58 -0400
commit0fe0523810b1408c94c722ebae8aa47429d55d6d (patch)
tree68f23b45ce5d356e1649275532a1b00fa2015ce6 /Tests/OutOfBinary
parent9fca6a7837a41ed7dc0f891abdbc32a4a118f2aa (diff)
downloadcmake-0fe0523810b1408c94c722ebae8aa47429d55d6d.tar.gz
BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature.
Diffstat (limited to 'Tests/OutOfBinary')
-rw-r--r--Tests/OutOfBinary/CMakeLists.txt2
-rw-r--r--Tests/OutOfBinary/outlib.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/Tests/OutOfBinary/CMakeLists.txt b/Tests/OutOfBinary/CMakeLists.txt
new file mode 100644
index 0000000000..fcf90bd0d0
--- /dev/null
+++ b/Tests/OutOfBinary/CMakeLists.txt
@@ -0,0 +1,2 @@
+ADD_LIBRARY(outlib outlib.c)
+
diff --git a/Tests/OutOfBinary/outlib.c b/Tests/OutOfBinary/outlib.c
new file mode 100644
index 0000000000..9ea579b7ae
--- /dev/null
+++ b/Tests/OutOfBinary/outlib.c
@@ -0,0 +1,2 @@
+int outlib() { return 456; }
+