ENH: add aix

This commit is contained in:
Bill Hoffman 2006-05-03 17:08:34 -04:00
parent 96d4a89228
commit 2fa216058a
2 changed files with 19 additions and 1 deletions

View File

@ -10,6 +10,17 @@ endif(NOT DEFINED PROCESSORS)
if(NOT DEFINED CMAKE_VERSION) if(NOT DEFINED CMAKE_VERSION)
message(FATAL_ERROR "CMAKE_VERSION not defined") message(FATAL_ERROR "CMAKE_VERSION not defined")
endif(NOT DEFINED CMAKE_VERSION) 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) if(NOT HOST)
message(FATAL_ERROR "HOST must be specified with -DHOST=host") message(FATAL_ERROR "HOST must be specified with -DHOST=host")
endif(NOT HOST) endif(NOT HOST)
@ -59,7 +70,7 @@ remote_command(
# checkout the source # checkout the source
remote_command( remote_command(
"Checkout the source for ${CMAKE_VERSION}" "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 # now bootstrap cmake
remote_command( remote_command(
"Run cmake bootstrap --parallel=${PROCESSORS}" "Run cmake bootstrap --parallel=${PROCESSORS}"

View File

@ -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)