diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-03 21:08:34 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-03 21:08:34 (GMT) |
commit | 2fa216058a7e6a087d12f95cd436cc058292d2a9 (patch) | |
tree | 33720af8d388ad9ee09bc0cac1ba297c2488d018 /Utilities/Release/release_cmake.cmake | |
parent | 96d4a892284243057262f4369196e713b595e634 (diff) | |
download | CMake-2fa216058a7e6a087d12f95cd436cc058292d2a9.zip CMake-2fa216058a7e6a087d12f95cd436cc058292d2a9.tar.gz CMake-2fa216058a7e6a087d12f95cd436cc058292d2a9.tar.bz2 |
ENH: add aix
Diffstat (limited to 'Utilities/Release/release_cmake.cmake')
-rw-r--r-- | Utilities/Release/release_cmake.cmake | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 277ab71..365fc5b 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -10,6 +10,17 @@ endif(NOT DEFINED PROCESSORS) if(NOT DEFINED CMAKE_VERSION) message(FATAL_ERROR "CMAKE_VERSION not defined") endif(NOT DEFINED CMAKE_VERSION) +if(NOT DEFINED CVS_COMMAND) + set(CVS_COMMAND cvs) +endif(NOT DEFINED CVS_COMMAND) + +if("${CMAKE_VERSION}" STREQUAL "CVS") + set( CMAKE_CHECKOUT "${CVS_COMMAND} -q -z3 -d ${CVSROOT} export -D now ") + set( CMAKE_VERSION "CurrentCVS") +else("${CMAKE_VERSION}" STREQUAL "CVS") + set( CMAKE_CHECKOUT "${CVS_COMMAND} -q -z3 -d ${CVSROOT} export -r ${CMAKE_VERSION} ") +endif("${CMAKE_VERSION}" STREQUAL "CVS") + if(NOT HOST) message(FATAL_ERROR "HOST must be specified with -DHOST=host") endif(NOT HOST) @@ -59,7 +70,7 @@ remote_command( # checkout the source remote_command( "Checkout the source for ${CMAKE_VERSION}" - "cd ~/CMakeReleaseDirectory && cvs -q -z3 -d ${CVSROOT} export -r ${CMAKE_VERSION} -d ${CMAKE_VERSION} CMake") + "cd ~/CMakeReleaseDirectory && ${CMAKE_CHECKOUT} -d ${CMAKE_VERSION} CMake") # now bootstrap cmake remote_command( "Run cmake bootstrap --parallel=${PROCESSORS}" |