summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-04 16:22:08 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-04-04 16:22:08 (GMT)
commit0dd2b6eb80a3fe288cf936e7bd899733231262aa (patch)
tree4b7e2493d03f7ffb938acbf8ff581a392431dc4d /Modules
parentf9545f3fef513dd2d09b9b611111b17abc3609de (diff)
downloadCMake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.zip
CMake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.tar.gz
CMake-0dd2b6eb80a3fe288cf936e7bd899733231262aa.tar.bz2
BUG: By default disable new files.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Dart.cmake13
1 files changed, 10 insertions, 3 deletions
diff --git a/Modules/Dart.cmake b/Modules/Dart.cmake
index 320e4eb..bdea621 100644
--- a/Modules/Dart.cmake
+++ b/Modules/Dart.cmake
@@ -302,9 +302,16 @@ IF(BUILD_TESTING)
# Use CTest
# configure files
- CONFIGURE_FILE(
- ${CMAKE_ROOT}/Modules/DartConfiguration.tcl.in
- ${PROJECT_BINARY_DIR}/CTestConfiguration.ini )
+
+ IF(CTEST_NEW_FORMAT)
+ CONFIGURE_FILE(
+ ${CMAKE_ROOT}/Modules/DartConfiguration.tcl.in
+ ${PROJECT_BINARY_DIR}/CTestConfiguration.ini )
+ ELSE(CTEST_NEW_FORMAT)
+ CONFIGURE_FILE(
+ ${CMAKE_ROOT}/Modules/DartConfiguration.tcl.in
+ ${PROJECT_BINARY_DIR}/DartConfiguration.tcl )
+ ENDIF(CTEST_NEW_FORMAT)
#
# Section 3: