Newer
Older
#!/bin/sh
Dilawar Singh
committed
# NOTICE: This file is parsed by cmake to create a shell script. Not all syntax
# will play well with cmake. CMAKE replaces @FOO@ and ${FOO} with cmake variable
# values.
Dilawar Singh
committed
Dilawar Singh
committed
echo "Building pymoose and creating bdist."
export GSL_ROOT_DIR=@GSL_ROOT_DIR@
export HDF5_ROOT=@HDF5_ROOT@
cd @PYMOOSE_BUILD_DIR@
cmake -DCMAKE_INSTALL_PREFIX=@PYMOOSE_INSTALL_DIR@ \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_BOOST=@WITH_BOOST@ \
-DPYTHON_EXECUTABLE=@PYTHON_EXECUTABLE@ \
Dilawar Singh
committed
-DVERSION_MOOSE=@VERSION_MOOSE@ \
Dilawar Singh
committed
@CMAKE_PYMOOSE_ARGS@ \
@PYMOOSE_SOURCE_DIR@
make $MAKEOPTS
ctest --output-on-failure
make bdist