summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/dashsun1_release.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-02 20:32:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-02 20:32:46 (GMT)
commitadf160029c64e5dcf8f6fb7962c0be9763a9e546 (patch)
tree5aeaae3c8193e369b8c5c2e60ca4f31a5a82c031 /Utilities/Release/dashsun1_release.cmake
parent38373b5d4ca8bf6a5f30d313c96a1e5ef407b7aa (diff)
downloadCMake-adf160029c64e5dcf8f6fb7962c0be9763a9e546.zip
CMake-adf160029c64e5dcf8f6fb7962c0be9763a9e546.tar.gz
CMake-adf160029c64e5dcf8f6fb7962c0be9763a9e546.tar.bz2
ENH: first pass at cmake scripts to create the cmake release
Diffstat (limited to 'Utilities/Release/dashsun1_release.cmake')
-rw-r--r--Utilities/Release/dashsun1_release.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/Utilities/Release/dashsun1_release.cmake b/Utilities/Release/dashsun1_release.cmake
new file mode 100644
index 0000000..b28e134
--- /dev/null
+++ b/Utilities/Release/dashsun1_release.cmake
@@ -0,0 +1,12 @@
+set(PROCESSORS 2)
+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(INITIAL_CACHE "
+CMAKE_EXE_LINKER_FLAGS:STRING=-Bstatic
+CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
+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)