config_Linux 511 B

12345678910111213141516171819
  1. PLATFORM="x86-linux"
  2. CURSES_LIBRARY="/usr/i686-gcc-322s/lib/libncurses.a"
  3. FORM_LIBRARY="/usr/i686-gcc-322s/lib/libform.a"
  4. CC="gcc322s"
  5. CXX="c++322s"
  6. CFLAGS="-I/usr/i686-gcc-322s/include/ncurses"
  7. CXXFLAGS="-I/usr/i686-gcc-322s/include/ncurses"
  8. # Write entries into the cache file before building cmake.
  9. write_cache()
  10. {
  11. cat > CMakeCache.txt <<EOF
  12. BUILD_TESTING:BOOL=ON
  13. CMAKE_SKIP_RPATH:BOOL=1
  14. CMAKE_VERBOSE_MAKEFILE:BOOL=TRUE
  15. CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
  16. FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
  17. EOF
  18. }