diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-07 16:03:57 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-07 16:03:57 (GMT) |
commit | bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176 (patch) | |
tree | cc73222df613e47f7c828bb75b56253db6b7b563 /Source/CMakeLists.txt | |
parent | 4148fedbf099b3af9fd6d2d4ad8c5de91cd0a956 (diff) | |
download | CMake-bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176.zip CMake-bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176.tar.gz CMake-bfb3598c4b4ec2fc41eb6e26ea0dbeb9c55f9176.tar.bz2 |
BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index a8c262a..e3f53a4 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -571,6 +571,16 @@ IF(BUILD_TESTING) --build-two-config --test-command cxxonly) + ADD_TEST(NewlineArgs ${CMAKE_CTEST_COMMAND} + --build-and-test + "${CMake_SOURCE_DIR}/Tests/NewlineArgs" + "${CMake_BINARY_DIR}/Tests/NewlineArgs" + --build-generator ${CMAKE_TEST_GENERATOR} + --build-project cxxonly + --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} + --build-two-config + --test-command cxxonly) + ADD_TEST(MacroTest ${CMAKE_CTEST_COMMAND} --build-and-test "${CMake_SOURCE_DIR}/Tests/MacroTest" |