PLATFORM="darwin"
CC="cc"
CXX="c++"
WX_PREFIX=/Users/kitware/wxMac-2.6.1-build

# Write entries into the cache file before building cmake.
write_cache()
{
write_standard_cache

cat >> CMakeCache.txt <<EOF
CURSES_LIBRARY:FILEPATH=/Users/kitware/staticCurses/libncurses.a
CMAKE_BUILD_WX_DIALOG:BOOL=ON
CMAKE_WXWINDOWS_WXCONFIG_EXECUTABLE:FILEPATH=${WX_PREFIX}/wx-config
EOF
}
