summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2002-05-03 04:27:34 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2002-05-03 04:27:34 (GMT)
commit4bff9704134608bbce373e64d62441180e98b67a (patch)
tree4eddfe1c640c509a48ccf38ce28b6d9efd774159 /Source/CMakeLists.txt
parent0838265fdcd72c52f8d626157968b4db2b342c3e (diff)
downloadCMake-4bff9704134608bbce373e64d62441180e98b67a.zip
CMake-4bff9704134608bbce373e64d62441180e98b67a.tar.gz
CMake-4bff9704134608bbce373e64d62441180e98b67a.tar.bz2
- bug fix where paths weren't being output when LIB_OUT_PATH *isn't* used
- test case for above mentioned bug - more comments. Comments are good.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 589c52d..56713da 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -163,11 +163,18 @@ IF(BUILD_TESTING)
${CMake_BINARY_DIR}/Tests/Wrapping/bin
TestDriverTest subdir/test3)
- ADD_TEST(dependency ${CMake_BINARY_DIR}/Source/cmaketest
+ ADD_TEST(dependency_w_libout ${CMake_BINARY_DIR}/Source/cmaketest
${CMake_SOURCE_DIR}/Tests/Dependency
- ${CMake_BINARY_DIR}/Tests/Dependency
+ ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut
exec
- ${CMake_BINARY_DIR}/Tests/Dependency/Exec
+ ${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Exec
+ Dependency CMAKE_ARGS -DLIBRARY_OUTPUT_PATH:PATH=${CMake_BINARY_DIR}/Tests/Dependency/WithLibOut/Lib)
+
+ ADD_TEST(dependency_wo_lib_out ${CMake_BINARY_DIR}/Source/cmaketest
+ ${CMake_SOURCE_DIR}/Tests/Dependency
+ ${CMake_BINARY_DIR}/Tests/Dependency/WOLibOut
+ exec
+ ${CMake_BINARY_DIR}/Tests/Dependency/WOLibOut/Exec
Dependency)
ENDIF (DART_ROOT)