PLATFORM="darwin" CC="cc" CXX="c++" WX_PREFIX=/Users/kitware/Software/wxBin WX_RESOURCES=${WX_PREFIX}/lib/libwx_mac-2.3.rsrc # Write entries into the cache file before building cmake. write_cache() { cat > CMakeCache.txt <