diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-03 03:20:02 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-03 03:20:02 (GMT) |
commit | 86beb67afdabe09bfe9d8d927dff834db3b7fdd5 (patch) | |
tree | 646882b1441923e1fd5b3c8f399dc76c19af49cf /Utilities/Release/dashsun1_release.cmake | |
parent | 38c1ab5cb2734af95b5d640ed88f6bb2f1dd78bc (diff) | |
download | CMake-86beb67afdabe09bfe9d8d927dff834db3b7fdd5.zip CMake-86beb67afdabe09bfe9d8d927dff834db3b7fdd5.tar.gz CMake-86beb67afdabe09bfe9d8d927dff834db3b7fdd5.tar.bz2 |
ENH: getting better
Diffstat (limited to 'Utilities/Release/dashsun1_release.cmake')
-rw-r--r-- | Utilities/Release/dashsun1_release.cmake | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/Utilities/Release/dashsun1_release.cmake b/Utilities/Release/dashsun1_release.cmake index b28e134..619609e 100644 --- a/Utilities/Release/dashsun1_release.cmake +++ b/Utilities/Release/dashsun1_release.cmake @@ -1,12 +1,22 @@ -set(PROCESSORS 2) +set(PROCESSORS 1) set(HOST dashsun1) -set(MAKE "make -j2") -execute_process(COMMAND ssh ${HOST} pwd RESULT_VARIABLE result OUTPUT_VARIABLE BUILD_DIR) -message(fatal_error ${BUILD_DIR}/CMakeReleaseDirectory/UserMakeRules.cmake) +set(MAKE "make") +execute_process(COMMAND ssh ${HOST} + pwd RESULT_VARIABLE result OUTPUT_VARIABLE BUILD_DIR) +# now strip the newline (we need perl chop...) +string(LENGTH "${BUILD_DIR}" length) +math(EXPR length "${length} -1" ) +string(SUBSTRING "${BUILD_DIR}" 0 ${length} BUILD_DIR) +set(USER_MAKE_RULE_FILE + "${BUILD_DIR}/CMakeReleaseDirectory/UserMakeRules.cmake") set(INITIAL_CACHE " -CMAKE_EXE_LINKER_FLAGS:STRING=-Bstatic -CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake +CMAKE_BUILD_TYPE:STRING=Release +HAVE_LIBDL:INTERNAL=FALSE +CMAKE_EXE_LINKER_FLAGS:STRING=-Bdynamic -ldl -Bstatic +CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${USER_MAKE_RULE_FILE} CURSES_LIBRARY:FILEPATH=/usr/lib/libcurses.a FORM_LIBRARY:FILEPATH=/usr/lib/libform.a") -set(USER_MAKE_RULES "SET(CMAKE_DL_LIBS \"-Bdynamic -ldl -Bstatic\")" -include(release_cmake.cmake) +set(USER_MAKE_RULE_FILE_CONTENTS + "SET(CMAKE_DL_LIBS \\\\\"-Bdynamic -ldl -Bstatic\\\\\")") +get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH) +include(${path}/release_cmake.cmake) |