From 90ba4e3b8ba61e50ac2d9fe8bb8a44d74cd2d365 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Mon, 26 Sep 2016 21:27:50 +0300 Subject: Add bootstrap scripts --- bootstrap.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 bootstrap.sh (limited to 'bootstrap.sh') 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 . -- cgit v1.2.3