~quf/tocs3planner

ref: dev tocs3planner/build-wxwidgets.sh -rw-r--r-- 626 bytes
94c74418Lukas Himbert initial public version 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

set -ex

cwd="$(pwd)"


for wxversion in 3.1.5 3.0.5; do
  for gtkversion in 2 3; do
  mkdir -p build/wxwidgets-obj
  cd build/wxwidgets-obj
  ../../3rdparty/wxWidgets-$wxversion/configure --prefix="${cwd}/build/wxwidgets-${wxversion}-gtk${gtkversion}" \
    --enable-debug \
    --enable-stl \
    --disable-webview \
    --enable-grid \
    --with-gtk=$gtkversion
    make -j $(($(nproc) / 2 + 1))
    make install
    cd ../..
    rm -rf build/wxwidgets-obj
  done
done
  #--with-qt=5

#  --disable-webkit \

  #--disable-shared \
  #--disable-all-features \
  #--enable-geometry \
  #--enable-graphics_ctx \