diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-11-10 15:40:24 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-11-10 15:40:24 (GMT) |
commit | c9c0ee4056aa651a63ee6c34abb06e60e987dbe3 (patch) | |
tree | 869a02a81b1ff9cc2790bd73290030d743fac854 /Tests/CTestTestSubdir/subdir3 | |
parent | 21a59bdc4d4c54af5cd175561f9249d5932434d2 (diff) | |
download | CMake-c9c0ee4056aa651a63ee6c34abb06e60e987dbe3.zip CMake-c9c0ee4056aa651a63ee6c34abb06e60e987dbe3.tar.gz CMake-c9c0ee4056aa651a63ee6c34abb06e60e987dbe3.tar.bz2 |
Change logic of ctest subdirs command to allow for absolute paths. Also added test coverage for passing absolute paths to subdirs.
Diffstat (limited to 'Tests/CTestTestSubdir/subdir3')
-rw-r--r-- | Tests/CTestTestSubdir/subdir3/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/CTestTestSubdir/subdir3/main.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CTestTestSubdir/subdir3/CMakeLists.txt b/Tests/CTestTestSubdir/subdir3/CMakeLists.txt new file mode 100644 index 0000000..9a44b12 --- /dev/null +++ b/Tests/CTestTestSubdir/subdir3/CMakeLists.txt @@ -0,0 +1,2 @@ +ADD_EXECUTABLE (main3 main.c) +ADD_TEST (TestMain3 main3) diff --git a/Tests/CTestTestSubdir/subdir3/main.c b/Tests/CTestTestSubdir/subdir3/main.c new file mode 100644 index 0000000..8488f4e --- /dev/null +++ b/Tests/CTestTestSubdir/subdir3/main.c @@ -0,0 +1,4 @@ +int main(void) +{ + return 0; +} |