dashmacmini2_release.cmake 1.21 KB
Newer Older
Bill Hoffman's avatar
Bill Hoffman committed
1
set(PROCESSORS 2)
Bill Hoffman's avatar
Bill Hoffman committed
2
3
set(CMAKE_RELEASE_DIRECTORY /Users/kitware/CMakeReleaseDirectory)
set(USER_OVERRIDE "set(CMAKE_CXX_LINK_EXECUTABLE \\\"gcc  <FLAGS> <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS>  -o <TARGET> <LINK_LIBRARIES>  -shared-libgcc -lstdc++-static\\\")")
4
set(BOOTSTRAP_ARGS "--prefix=/ --docdir=doc/cmake")
Bill Hoffman's avatar
Bill Hoffman committed
5
set(HOST dashmacmini2)
6
7
set(MAKE_PROGRAM "make")
set(MAKE "${MAKE_PROGRAM} -j2")
8
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
9
set(CPACK_DMG_FORMAT "UDBZ") #build using bzip2 for smaller package size
Bill Hoffman's avatar
Bill Hoffman committed
10
11
set(INITIAL_CACHE "
CMAKE_BUILD_TYPE:STRING=Release
Bill Hoffman's avatar
Bill Hoffman committed
12
CMAKE_OSX_ARCHITECTURES:STRING=ppc;i386
13
CMAKE_USE_OPENSSL:BOOL=ON
14
15
16
OPENSSL_CRYPTO_LIBRARY:FILEPATH=/Users/kitware/openssl-1.0.1g-install/lib/libcrypto.a
OPENSSL_INCLUDE_DIR:PATH=/Users/kitware/openssl-1.0.1g-install/include
OPENSSL_SSL_LIBRARY:FILEPATH=/Users/kitware/openssl-1.0.1g-install/lib/libssl.a
17
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
Bill Hoffman's avatar
Bill Hoffman committed
18
CPACK_SYSTEM_NAME:STRING=Darwin-universal
19
BUILD_QtDialog:BOOL=TRUE
20
CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:BOOL=TRUE
21
CMake_INSTALL_DEPENDENCIES:BOOL=ON
22
QT_QMAKE_EXECUTABLE:FILEPATH=/Users/kitware/Support/qt-4.8.0/install/bin/qmake
Bill Hoffman's avatar
Bill Hoffman committed
23
24
25
")
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${path}/release_cmake.cmake)