2003-01-16 02:42:41 +03:00
|
|
|
PLATFORM="darwin"
|
|
|
|
CC="cc"
|
|
|
|
CXX="c++"
|
2003-01-17 21:35:55 +03:00
|
|
|
WX_PREFIX=/Users/andy/vtk/wx
|
|
|
|
WX_RESOURCES=${WX_PREFIX}/lib/libwx_mac-2.3.rsrc
|
2003-01-16 02:42:41 +03:00
|
|
|
|
|
|
|
# Write entries into the cache file before building cmake.
|
|
|
|
write_cache()
|
|
|
|
{
|
|
|
|
cat > CMakeCache.txt <<EOF
|
2003-01-24 19:41:37 +03:00
|
|
|
BUILD_TESTING:BOOL=ON
|
2003-01-16 02:42:41 +03:00
|
|
|
CURSES_LIBRARY:FILEPATH=/usr/local/lib/libncurses.a
|
2003-01-17 21:35:55 +03:00
|
|
|
CMAKE_BUILD_WX_DIALOG:BOOL=ON
|
|
|
|
CMAKE_WX_CONFIG:FILEPATH=${WX_PREFIX}/bin/wx-config
|
2003-01-16 02:42:41 +03:00
|
|
|
EOF
|
|
|
|
}
|