From: Uwe Hermann Date: Tue, 28 Jan 2014 17:09:18 +0000 (+0100) Subject: sigrok-cross-mingw: Add -DENABLE_TESTS=y for PulseView. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=23384c8c7d02a5ea03facc9bbf81cdfc06d4071b;p=sigrok-util.git sigrok-cross-mingw: Add -DENABLE_TESTS=y for PulseView. 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. --- diff --git a/cross-compile/mingw/README b/cross-compile/mingw/README index b10c0f0..57dc31a 100644 --- a/cross-compile/mingw/README +++ b/cross-compile/mingw/README @@ -37,7 +37,7 @@ First, setup the MXE cross-compile environment for MinGW/Windows: $ 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. diff --git a/cross-compile/mingw/sigrok-cross-mingw b/cross-compile/mingw/sigrok-cross-mingw index a287e1a..11660c9 100755 --- a/cross-compile/mingw/sigrok-cross-mingw +++ b/cross-compile/mingw/sigrok-cross-mingw @@ -164,7 +164,7 @@ cd .. 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