diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2016-09-26 21:27:50 +0300 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2016-09-26 21:27:50 +0300 |
| commit | 90ba4e3b8ba61e50ac2d9fe8bb8a44d74cd2d365 (patch) | |
| tree | fd31b3f354e2ea555cff01f19c6fb8a338f2dae4 /bootstrap.sh | |
| parent | a84ee52188111dc44724fdde47f131b9e6465511 (diff) | |
| download | rayskeleton-90ba4e3b8ba61e50ac2d9fe8bb8a44d74cd2d365.tar.gz rayskeleton-90ba4e3b8ba61e50ac2d9fe8bb8a44d74cd2d365.zip | |
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 . |
