summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/config_Darwin
blob: 08f3a95ed11efd7729e9885bbe379b7f07a59e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PLATFORM="darwin"
CC="cc"
CXX="c++"
WX_PREFIX=/Users/andy/vtk/wx
WX_RESOURCES=${WX_PREFIX}/lib/libwx_mac-2.3.rsrc

# Write entries into the cache file before building cmake.
write_cache()
{
cat > CMakeCache.txt <<EOF
BUILD_TESTING:BOOL=OFF
CURSES_LIBRARY:FILEPATH=/usr/local/lib/libncurses.a
CMAKE_BUILD_WX_DIALOG:BOOL=ON
CMAKE_WX_CONFIG:FILEPATH=${WX_PREFIX}/bin/wx-config
EOF
}