diff options
author | Brad King <brad.king@kitware.com> | 2006-10-10 01:25:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-10 01:25:58 (GMT) |
commit | 0fe0523810b1408c94c722ebae8aa47429d55d6d (patch) | |
tree | 68f23b45ce5d356e1649275532a1b00fa2015ce6 /Tests/OutOfSource/OutOfSourceSubdir/simple.cxx | |
parent | 9fca6a7837a41ed7dc0f891abdbc32a4a118f2aa (diff) | |
download | CMake-0fe0523810b1408c94c722ebae8aa47429d55d6d.zip CMake-0fe0523810b1408c94c722ebae8aa47429d55d6d.tar.gz CMake-0fe0523810b1408c94c722ebae8aa47429d55d6d.tar.bz2 |
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/OutOfSource/OutOfSourceSubdir/simple.cxx')
-rw-r--r-- | Tests/OutOfSource/OutOfSourceSubdir/simple.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx index 3c9be09..124b7f9 100644 --- a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx +++ b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx @@ -5,6 +5,7 @@ #include "testdp.h" extern int simple(); +extern "C" int outlib(); int main () { @@ -21,5 +22,9 @@ int main () { return -1; } + if(outlib() != 456) + { + return -4; + } return 0; } |