File: time-header

package info (click to toggle)
mapnik 4.0.7%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 18,408 kB
  • sloc: cpp: 160,934; python: 1,221; sh: 687; xml: 161; makefile: 122; perl: 28; lisp: 13
file content (9 lines) | stat: -rwxr-xr-x 327 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#!/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)':"
time ${CXX} $1 -I./test -I./deps/agg/include -Ideps -I./deps/mapbox/variant/include -I./include $CXXFLAGS -o /tmp/header.out