summaryrefslogtreecommitdiffstats
path: root/Utilities/Release
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-03 21:08:34 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-03 21:08:34 (GMT)
commit2fa216058a7e6a087d12f95cd436cc058292d2a9 (patch)
tree33720af8d388ad9ee09bc0cac1ba297c2488d018 /Utilities/Release
parent96d4a892284243057262f4369196e713b595e634 (diff)
downloadCMake-2fa216058a7e6a087d12f95cd436cc058292d2a9.zip
CMake-2fa216058a7e6a087d12f95cd436cc058292d2a9.tar.gz
CMake-2fa216058a7e6a087d12f95cd436cc058292d2a9.tar.bz2
ENH: add aix
Diffstat (limited to 'Utilities/Release')
-rw-r--r--Utilities/Release/release_cmake.cmake13
-rw-r--r--Utilities/Release/v60n177_aix_release.cmake7
2 files changed, 19 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}"
diff --git a/Utilities/Release/v60n177_aix_release.cmake b/Utilities/Release/v60n177_aix_release.cmake
new file mode 100644
index 0000000..a8c847f
--- /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)