diff options
Diffstat (limited to 'recipes/regularizers/build.sh')
-rw-r--r-- | recipes/regularizers/build.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/regularizers/build.sh b/recipes/regularizers/build.sh new file mode 100644 index 0000000..ab5474b --- /dev/null +++ b/recipes/regularizers/build.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +mkdir build +cd build + +#configure +BUILD_CONFIG=Release +echo `pwd` +cmake .. -G "Ninja" \ + -Wno-dev \ + -DCMAKE_BUILD_TYPE=$BUILD_CONFIG \ + -DCMAKE_PREFIX_PATH:PATH="${PREFIX}" \ + -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" \ + -DCMAKE_INSTALL_RPATH:PATH="${PREFIX}/lib" + +# compile & install +ninja install |