Skip to content

Commit

Permalink
Simplify cmake configuration in mingw build script
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Sep 30, 2021
1 parent 721c10a commit 711ed22
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ms-windows/mingw/build.sh
Expand Up @@ -76,17 +76,11 @@ mkdir -p "$BUILDDIR"
(
CRSSYNC_BIN=$(readlink -f "$SRCDIR")/build/output/bin/crssync
cd "$BUILDDIR"
QSCI_VER=$(grep -Eo '\s*([0-9]+\.[0-9]+\.[0-9]+)' "$MINGWROOT/include/qt5/Qsci/qsciglobal.h")
mingw$bits-cmake \
-DCMAKE_CROSS_COMPILING=1 \
-DUSE_CCACHE=ON \
-DCMAKE_BUILD_TYPE=$buildtype \
-DNATIVE_CRSSYNC_BIN="$CRSSYNC_BIN" \
-DQSCINTILLA_VERSION_STR="$QSCI_VER" \
-DQSCINTILLA_LIBRARY="$MINGWROOT/lib/libqscintilla2_qt5.dll.a" \
-DQSCI_MOD_VERSION_STR="$QSCI_VER" \
-DQWT_INCLUDE_DIR="$MINGWROOT/include/qt5/qwt" \
-DQSCI_SIP_DIR="$MINGWROOT/share/sip/PyQt5/Qsci/" \
-DBUILD_TESTING=OFF \
-DENABLE_TESTS=OFF \
-DQGIS_BIN_SUBDIR=bin \
Expand All @@ -101,8 +95,6 @@ mkdir -p "$BUILDDIR"
-DBINDINGS_GLOBAL_INSTALL=ON \
-DSIP_GLOBAL_INSTALL=ON \
-DWITH_SERVER=ON \
-DZSTD_INCLUDE_DIR="$MINGWROOT/include/zstd" \
-DZSTD_LIBRARY="$MINGWROOT/lib/libzstd.dll.a" \
-DTXT2TAGS_EXECUTABLE= \
..
)
Expand Down

0 comments on commit 711ed22

Please sign in to comment.