compil.sh 256 Bytes
#!/bin/sh

export NETCDF_ROOT="/opt/local"
export DDCLIENT_ROOT="/opt/local"

cmake -E make_directory build
cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/local ..
cmake --build build
sudo make -C build install VERBOSE=1