Debian Codegraph @

scripts/time-header

raw
1 #!/usr/bin/env bash
2
3 set -eu
4 set -o pipefail
5
6 CXXFLAGS="$(./utils/mapnik-config/mapnik-config --cflags)"
7 CXX="$(./utils/mapnik-config/mapnik-config --cxx)"
8 echo "Time taken to compile '$(basename $1)':"
9 time ${CXX} $1 -I./test -I./deps/agg/include -Ideps -I./deps/mapbox/variant/include -I./include $CXXFLAGS -o /tmp/header.out