This builds the unit tests (requires "check" from MXE) so that we can
catch any platform specific issues there. It won't _run_ the tests,
though.
$ cd $HOME
$ git clone https://github.com/mxe/mxe.git mxe-git
$ cd mxe-git
- $ make gcc glib libzip libusb1 libftdi qt boost
+ $ make gcc glib libzip libusb1 libftdi qt boost check
This will take a while.
git clone git://sigrok.org/pulseview
cd pulseview
patch -p1 < ../../pulseview_decodersdir.patch
-PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 cmake $CM -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_DECODE=y -DENABLE_COTIRE=y .
+PKG_CONFIG_PATH_i686_pc_mingw32=$P:$P2 cmake $CM -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX -DDISABLE_WERROR=y -DENABLE_DECODE=y -DENABLE_COTIRE=y -DENABLE_TESTS=y .
make $PARALLEL VERBOSE=1
make install
makensis -DHOME=$HOME contrib/pulseview_cross.nsi