diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 277ab710f..365fc5b7e 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}" diff --git a/Utilities/Release/v60n177_aix_release.cmake b/Utilities/Release/v60n177_aix_release.cmake new file mode 100644 index 000000000..a8c847f9e --- /dev/null +++ b/Utilities/Release/v60n177_aix_release.cmake @@ -0,0 +1,7 @@ +set(PROCESSORS 2) +set(CVS_COMMAND /vol/local/bin/cvs) +set(HOST "sshserv.centers.ihost.com rsh v60n177 " ) +set(MAKE "make") +set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release") +get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH) +include(${path}/release_cmake.cmake)