2014-03-03 13:20:44 -08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
2014-06-16 13:27:38 -07:00
|
|
|
git submodule update --init --recursive
|
2014-07-13 21:56:25 -07:00
|
|
|
externals/gyp/gyp project.gyp --depth . --format=make $@
|
2014-07-25 12:55:00 -07:00
|
|
|
externals/gyp/gyp tests.gyp --depth . --format=make $@
|
2014-04-11 18:33:53 -07:00
|
|
|
|
2014-04-16 21:00:27 -07:00
|
|
|
if [ "$1" == "-h" ]; then
|
2014-04-11 18:33:53 -07:00
|
|
|
cat <<-HELP
|
|
|
|
|
|
|
|
|
|
Variables:
|
|
|
|
|
|
|
|
|
|
-D USE_BOOST_REGEX - Use boost regex library for tests, not the built-in regex
|
|
|
|
|
library. This is useful when linking against an older
|
|
|
|
|
version of the standard library. libboost_regex must be
|
|
|
|
|
installed.
|
|
|
|
|
|
|
|
|
|
HELP
|
|
|
|
|
fi
|