aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: bb311335cfb0a85a4bd4cad813ce77e7bec0a443 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 .