summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestSubdir/subdir
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-20 17:35:44 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-20 17:35:44 (GMT)
commit78174651b696a8e20ae55291a3b157bcab412408 (patch)
treefa7e3650c0b5c1bf35696a6d6a227cb2ce5733b7 /Tests/CTestTestSubdir/subdir
parentf2010871ba9802386cb63733faf6e1a3b762158b (diff)
downloadCMake-78174651b696a8e20ae55291a3b157bcab412408.zip
CMake-78174651b696a8e20ae55291a3b157bcab412408.tar.gz
CMake-78174651b696a8e20ae55291a3b157bcab412408.tar.bz2
Added a ctest add_subdirectory test which fails before my patch made earlier today.
Diffstat (limited to 'Tests/CTestTestSubdir/subdir')
-rw-r--r--Tests/CTestTestSubdir/subdir/CMakeLists.txt2
-rw-r--r--Tests/CTestTestSubdir/subdir/main.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CTestTestSubdir/subdir/CMakeLists.txt b/Tests/CTestTestSubdir/subdir/CMakeLists.txt
new file mode 100644
index 0000000..a92e13b
--- /dev/null
+++ b/Tests/CTestTestSubdir/subdir/CMakeLists.txt
@@ -0,0 +1,2 @@
+ADD_EXECUTABLE (main main.c)
+ADD_TEST (TestMain main)
diff --git a/Tests/CTestTestSubdir/subdir/main.c b/Tests/CTestTestSubdir/subdir/main.c
new file mode 100644
index 0000000..8488f4e
--- /dev/null
+++ b/Tests/CTestTestSubdir/subdir/main.c
@@ -0,0 +1,4 @@
+int main(void)
+{
+ return 0;
+}