test win-console

This commit is contained in:
Matthieu Gautier 2019-09-11 11:57:25 +02:00
parent ab36004b97
commit 37c6435727
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ cd kiwix-desktop
echo "Getting fix_desktop" echo "Getting fix_desktop"
curl -fsSL -O http://public.kymeria.fr/KIWIX/windows/fix_desktop_makefile.py_ || exit /b 1 curl -fsSL -O http://public.kymeria.fr/KIWIX/windows/fix_desktop_makefile.py_ || exit /b 1
echo "Running qmake" echo "Running qmake"
C:\Qt\5.12\msvc2017_64\bin\qmake.exe "CONFIG+=static" || exit /b 1 C:\Qt\5.12\msvc2017_64\bin\qmake.exe "CONFIG+=static console" || exit /b 1
echo "Running fix_desktop" echo "Running fix_desktop"
C:\Python36\Python fix_desktop_makefile.py_ Makefile.Release || exit /b 1 C:\Python36\Python fix_desktop_makefile.py_ Makefile.Release || exit /b 1
echo "Running nmake" echo "Running nmake"

View File

@ -2,6 +2,7 @@ REM ========================================================
REM Install kiwix-lib REM Install kiwix-lib
git clone https://github.com/kiwix/kiwix-lib.git || exit /b 1 git clone https://github.com/kiwix/kiwix-lib.git || exit /b 1
cd kiwix-lib cd kiwix-lib
git checkout path_win
set CPPFLAGS="-I%EXTRA_DIR%/include" set CPPFLAGS="-I%EXTRA_DIR%/include"
meson . build --prefix %EXTRA_DIR% --default-library static --buildtype release || exit /b 1 meson . build --prefix %EXTRA_DIR% --default-library static --buildtype release || exit /b 1
cd build cd build