mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-11 10:38:52 +00:00
feat: can build opencomposite
This commit is contained in:
parent
5314c7a89f
commit
f373b725b4
5 changed files with 30 additions and 5 deletions
17
scripts/build_opencomposite.sh
Normal file
17
scripts/build_opencomposite.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue