Setting to standard shell
[WPS.git] / configure_new
blob96368fdc94f3175284970bad25bf0cdfb3693bfb
1 #!/bin/sh
2 # Meant to be run at the top level
3 ./arch/configure_reader.py \
4 arch/configure.defaults \
5 cmake/template/arch_config.cmake \
6 wps_config.cmake \
7 CMakeLists.txt
9 WRF_DIR=
10 if [ ! -z $1 ]; then
11 WRF_DIR=-DWRF_DIR="$1"
14 # Now run cmake
15 mkdir -p _build/
16 cd _build
17 cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/../run -DCMAKE_TOOLCHAIN_FILE=$PWD/..//wps_config.cmake ${WRF_DIR}
18 # cmake -S . -B _build