diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-10-20 17:35:44 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-10-20 17:35:44 (GMT) |
commit | 78174651b696a8e20ae55291a3b157bcab412408 (patch) | |
tree | fa7e3650c0b5c1bf35696a6d6a227cb2ce5733b7 /Tests/CTestTestSubdir/subdir | |
parent | f2010871ba9802386cb63733faf6e1a3b762158b (diff) | |
download | CMake-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.txt | 2 | ||||
-rw-r--r-- | Tests/CTestTestSubdir/subdir/main.c | 4 |
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; +} |