PLATFORM="x86-linux-static" 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 <