summaryrefslogtreecommitdiffstats
path: root/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-21 11:16:32 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-21 11:16:32 (GMT)
commit0cb45081d973a757f9ff582f5654b9207122d405 (patch)
tree6dd8a51f983604e8eebdf25c3e9b046522c23386 /Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
parentcb83efbe909b3c557e18d592fa7f37af9197a3f3 (diff)
downloadCMake-0cb45081d973a757f9ff582f5654b9207122d405.zip
CMake-0cb45081d973a757f9ff582f5654b9207122d405.tar.gz
CMake-0cb45081d973a757f9ff582f5654b9207122d405.tar.bz2
BUG: Disable deep-source test on Watcom until it can be fixed. This is a new feature for other generators anyway.
Diffstat (limited to 'Tests/OutOfSource/OutOfSourceSubdir/simple.cxx')
-rw-r--r--Tests/OutOfSource/OutOfSourceSubdir/simple.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
index 0be7195..d88c311 100644
--- a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
+++ b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
@@ -5,7 +5,9 @@
#include "testdp.h"
extern int simple();
+#ifndef NO_DEEPSRC
extern int simple2();
+#endif
extern "C" int outlib();
int main ()
@@ -27,9 +29,11 @@ int main ()
{
return -4;
}
+#ifndef NO_DEEPSRC
if(simple2() != 789)
{
return -5;
}
+#endif
return 0;
}