mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
20 lines
493 B
Bash
Executable File
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" \
|
|
..
|