PLATFORM="x86-linux-static" CREATE_SOURCE_TARBALL="yes" CURSES_LIBRARY="/usr/lib/libcurses.a" FORM_LIBRARY="/usr/lib/libform.a" CC="gcc" CXX="c++" # Write entries into the cache file before building cmake. write_cache() { cat > CMakeCache.txt <