feat: can build opencomposite

This commit is contained in:
Gabriele Musco 2023-06-15 17:18:02 +02:00
commit f373b725b4
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE
5 changed files with 30 additions and 5 deletions

View file

@ -0,0 +1,17 @@
#!/bin/bash
# exit on error
# echo commands
set -ev
REPO_DIR=$1
"$(dirname -- "$0")/_clone_or_pull.sh" "https://gitlab.com/znixian/OpenOVR.git" "$REPO_DIR"
cd "$REPO_DIR"
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make clean
make -j$(nproc)
make install