2015-12-16 21:01:56 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
CXXFLAGS="$(./utils/mapnik-config/mapnik-config --cflags)"
|
|
|
|
CXX="$(./utils/mapnik-config/mapnik-config --cxx)"
|
|
|
|
echo "Time taken to compile '$(basename $1)':"
|
2016-09-05 13:40:50 +00:00
|
|
|
time ${CXX} $1 -I./test -I./deps/agg/include -Ideps -I./deps/mapbox/variant/include -I./include $CXXFLAGS -o /tmp/header.out
|