diff options
Diffstat (limited to 'bootstrap.sh')
| -rwxr-xr-x | bootstrap.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..bb31133 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ ! -f bootstrap.sh ]; then + echo "bootstrap.sh must be run from the project root directory" + exit 1 +fi + +mkdir -p build +cd build +cmake -DBOOTSTRAP=ON -DCMAKE_INSTALL_PREFIX=stage . +cmake --build . --target raylib +cmake -UBOOTSTRAP . |
