summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-02 20:33:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-02 20:33:45 (GMT)
commit3832369ffa75afae00e7a637d6f882b594df0f71 (patch)
tree38da69a8c77e35b5da70a6e6d265215b9cf74a67 /Utilities
parentadf160029c64e5dcf8f6fb7962c0be9763a9e546 (diff)
downloadCMake-3832369ffa75afae00e7a637d6f882b594df0f71.zip
CMake-3832369ffa75afae00e7a637d6f882b594df0f71.tar.gz
CMake-3832369ffa75afae00e7a637d6f882b594df0f71.tar.bz2
ENH: remove if0
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/release_cmake.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index 5aa20a9..74b802c 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -12,7 +12,6 @@ endif(NOT HOST)
if(NOT DEFINED MAKE)
message(FATAL_ERROR "MAKE must be specified with -DMAKE=\"make -j2\"")
endif(NOT DEFINED MAKE)
-
message("Creating CMake release ${CMAKE_VERSION} on ${HOST} with parallel = ${PROCESSORS}")
@@ -30,7 +29,6 @@ macro(remote_command comment command)
endif(${result} GREATER 0)
endmacro(remote_command)
-if(0)
# remove and create a directory to work with
remote_command(
"remove and create working directory ~/CMakeReleaseDirectory"
@@ -47,7 +45,6 @@ remote_command(
remote_command(
"Create a directory to build in"
"rm -rf ~/CMakeReleaseDirectory/${CMAKE_VERSION}-build && mkdir ~/CMakeReleaseDirectory/${CMAKE_VERSION}-build")
-
# now bootstrap cmake
remote_command(
"Run cmake bootstrap --parallel=${PROCESSORS}"
@@ -73,8 +70,6 @@ remote_command(
"Package cmake"
"cd ~/CMakeReleaseDirectory/${CMAKE_VERSION}-build && ./bin/cpack -G TGZ")
-endif(0)
-
message("copy the .gz file back from the machine")
execute_process(COMMAND scp ${HOST}:CMakeReleaseDirectory/${CMAKE_VERSION}-build/*.gz .
RESULT_VARIABLE result)