1 if(NOT DEFINED CMAKE_VERSION)
2 message(FATAL_ERROR "CMAKE_VERSION not defined")
3 endif(NOT DEFINED CMAKE_VERSION)
6 dashmacmini2_release.cmake # Mac Darwin universal
7 dashsun1_release.cmake # SunOS
8 destiny_release.cmake # HPUX
9 magrathea_release.cmake # Linux
10 dashsgi1_release.cmake # IRIX
11 dashsgi1_release64.cmake # IRIX 64
12 vogon_release.cmake # Windows
13 v20n17_aix_release.cmake # AIX 5.3
14 vogon_cygwin.cmake # Cygwin
15 # r36n11_aix_release.cmake # AIX 5.3
16 # r15n65_aix_release.cmake # AIX 5.2
19 file(WRITE create-${CMAKE_VERSION}.sh "#!/bin/sh")
20 make_directory(${CMAKE_CURRENT_SOURCE_DIR}/logs)
22 foreach(f ${RELEASE_SCRIPTS})
23 file(APPEND create-${CMAKE_VERSION}.sh
25 ${CMAKE_COMMAND} -DCMAKE_VERSION=${CMAKE_VERSION} -P ${CMAKE_ROOT}/Utilities/Release/${f} < /dev/null >& ${CMAKE_CURRENT_SOURCE_DIR}/logs/${f}-${CMAKE_VERSION}.log &
26 xterm -geometry 80x10 -sb -sl 2000 -T ${f}-${CMAKE_VERSION}.log -e tail -f ${CMAKE_CURRENT_SOURCE_DIR}/logs/${f}-${CMAKE_VERSION}.log&")
28 execute_process(COMMAND chmod a+x create-${CMAKE_VERSION}.sh)
29 message("Run ./create-${CMAKE_VERSION}.sh")