Bringing in changes from respective wrf module
[WPS.git] / configure_new
blobf323e5ea5ebed2cd72eca99b8a1c421e7795f218
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 cmake -S . -B _build -DCMAKE_INSTALL_PREFIX=$PWD/run -DCMAKE_TOOLCHAIN_FILE=$PWD/wps_config.cmake ${WRF_DIR}