diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-02-22 02:24:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-02-22 02:24:17 (GMT) |
commit | 5647e6e254f82a81997cd3913f872b06fe761f1e (patch) | |
tree | 50022ba8365b2c196965087a23a86cb848e36302 /Tests | |
parent | 806001bbb633a27624e9a0f5e564cab3bfefb0c3 (diff) | |
download | CMake-5647e6e254f82a81997cd3913f872b06fe761f1e.zip CMake-5647e6e254f82a81997cd3913f872b06fe761f1e.tar.gz CMake-5647e6e254f82a81997cd3913f872b06fe761f1e.tar.bz2 |
ENH: fix parens in the path with spaces in the path
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SubDirSpaces/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/SubDirSpaces/Some(x86) Sources/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/SubDirSpaces/Some(x86) Sources/test.c | 3 | ||||
-rw-r--r-- | Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c | 3 |
4 files changed, 9 insertions, 2 deletions
diff --git a/Tests/SubDirSpaces/CMakeLists.txt b/Tests/SubDirSpaces/CMakeLists.txt index 3535070..29f4f64 100644 --- a/Tests/SubDirSpaces/CMakeLists.txt +++ b/Tests/SubDirSpaces/CMakeLists.txt @@ -1,5 +1,5 @@ PROJECT(SUBDIR) -SUBDIRS("Executable Sources" EXCLUDE_FROM_ALL "Some Examples") +SUBDIRS("Executable Sources" "Some(x86) Sources" EXCLUDE_FROM_ALL "Some Examples") WRITE_FILE(${SUBDIR_BINARY_DIR}/ShouldBeHere "This file should exist.") #WATCOM WMAKE does not support + in the name of a file! IF(WATCOM) @@ -41,3 +41,5 @@ ELSE(WATCOM) vcl_algorithm+vcl_pair+double.foo.c) ENDIF(WATCOM) ADD_EXECUTABLE(TestWithAuxSourceDir ${SOURCES}) +target_link_libraries(TestWithAuxSourceDir testOddPath) + diff --git a/Tests/SubDirSpaces/Some(x86) Sources/CMakeLists.txt b/Tests/SubDirSpaces/Some(x86) Sources/CMakeLists.txt new file mode 100644 index 0000000..cfba916 --- /dev/null +++ b/Tests/SubDirSpaces/Some(x86) Sources/CMakeLists.txt @@ -0,0 +1 @@ +add_library(testOddPath test.c) diff --git a/Tests/SubDirSpaces/Some(x86) Sources/test.c b/Tests/SubDirSpaces/Some(x86) Sources/test.c new file mode 100644 index 0000000..66568d4 --- /dev/null +++ b/Tests/SubDirSpaces/Some(x86) Sources/test.c @@ -0,0 +1,3 @@ +void testOdd() +{ +} diff --git a/Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c b/Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c index d162084..b6d6b86 100644 --- a/Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c +++ b/Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c @@ -4,11 +4,12 @@ void secondone(); void pair_stuff(); void pair_p_stuff(); void vcl_stuff(); - +void testOdd(); int main() { printf("Hello from subdirectory\n"); secondone(); + testOdd(); pair_stuff(); pair_p_stuff(); vcl_stuff(); |