bigmac_release.cmake 1.06 KB
Newer Older
1
2
set(PROCESSORS 4)
set(CMAKE_RELEASE_DIRECTORY /Users/kitware/CMakeReleaseDirectory)
3
set(BOOTSTRAP_ARGS "--prefix=/ --docdir=doc/cmake")
4
set(HOST bigmac)
5
6
set(MAKE_PROGRAM "make")
set(MAKE "${MAKE_PROGRAM} -j5")
7
set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ")
8
set(CPACK_SOURCE_GENERATORS "TGZ TZ")
9
set(CPACK_DMG_FORMAT "UDBZ") #build using bzip2 for smaller package size
10
11
12
13
set(CC clang)
set(CXX clang++)
set(CFLAGS   "")
set(CXXFLAGS "-stdlib=libc++")
14
15
set(INITIAL_CACHE "
CMAKE_BUILD_TYPE:STRING=Release
16
CMAKE_OSX_ARCHITECTURES:STRING=x86_64
17
CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.7
18
CMAKE_SKIP_BOOTSTRAP_TEST:STRING=TRUE
19
CPACK_SYSTEM_NAME:STRING=Darwin-x86_64
20
BUILD_QtDialog:BOOL=TRUE
21
CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL:BOOL=TRUE
22
CMake_INSTALL_DEPENDENCIES:BOOL=ON
23
24
25
26
CMAKE_SKIP_RPATH:BOOL=TRUE
CMake_NO_C_STANDARD:BOOL=TRUE
CMake_NO_CXX_STANDARD:BOOL=TRUE
CMake_TEST_NO_FindPackageModeMakefileTest:BOOL=TRUE
27
")
28
29
30
set(ENV [[
export CMAKE_PREFIX_PATH='/Users/kitware/dashboards/support/Qt-5.5.1'
]])
31
32
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${path}/release_cmake.cmake)