blob: 501b56a5fb3d789b208e71bd042effe02d9ee772 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
PLATFORM="alpha-osf"
CC="cc"
CXX="cxx"
CXXFLAGS="-std strict_ansi -nopure_cname"
FLTK_INCLUDE_PATH="/usr/local/fltk-cxx/include"
FLTK_LIBRARY="/usr/local/fltk-cxx/lib/libfltk.a"
TCL_TCLSH="/usr/local/bin/tclsh8.3"
# Write entries into the cache file before building cmake.
write_cache()
{
cat > CMakeCache.txt <<EOF
BUILD_TESTING:BOOL=OFF
FLTK_INCLUDE_PATH:PATH=${FLTK_INCLUDE_PATH}
FLTK_LIBRARY:FILEPATH=${FLTK_LIBRARY}
TCL_TCLSH:FILEPATH=${TCL_TCLSH}
EOF
}
|