ENH: remove if0

This commit is contained in:
Bill Hoffman 2006-05-02 16:33:45 -04:00
parent adf160029c
commit 3832369ffa
1 changed files with 0 additions and 5 deletions

View File

@ -13,7 +13,6 @@ 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}")
# define a macro to run a remote command
@ -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)