QGIS/ci/travis/linux/install.sh
Nyall Dawson cf3c55bdfc [travis] Warn on unintentional switch fallthrough
Intentional fallthrough should be annotated with

"FALLTHROUGH;"
2016-01-25 14:41:07 +11:00

20 lines
493 B
Bash
Executable File

mkdir build
cd build
CLANG_WARNINGS="-Wimplicit-fallthrough"
cmake -DWITH_SERVER=ON \
-DWITH_STAGED_PLUGINS=ON \
-DWITH_GRASS=ON \
-DSUPPRESS_QT_WARNINGS=ON \
-DENABLE_MODELTEST=ON \
-DENABLE_PGTEST=ON \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=ON \
-DWITH_ASTYLE=ON \
-DWITH_PYSPATIALITE=ON \
-DGRASS_PREFIX7=/usr/lib/grass70 \
-DGRASS_INCLUDE_DIR7=/usr/lib/grass70/include \
-DCXX_EXTRA_FLAGS="$CLANG_WARNINGS" \
..