mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-02 05:55:38 +00:00
29 lines
653 B
Batchfile
29 lines
653 B
Batchfile
|
echo off
|
||
|
|
||
|
set PATH=C:\Qt\Qt5.6.0\5.6\mingw492_32\bin;%PATH%
|
||
|
set PATH=C:\Qt\Qt5.6.0\Tools\mingw492_32\bin;%PATH%
|
||
|
|
||
|
set LYX_SOURCE=%~DP0..\..
|
||
|
set LYX_BUILD=%LYX_SOURCE%\..\compile-mingw
|
||
|
|
||
|
echo LyX source: %LYX_SOURCE%
|
||
|
echo LyX build : %LYX_BUILD%
|
||
|
|
||
|
set GNUWIN32_DIR=%LYX_SOURCE%\..\msvc2010-deps
|
||
|
set PATH="%GNUWIN32_DIR%\deps20\Python";%PATH%
|
||
|
|
||
|
mkdir %LYX_BUILD%
|
||
|
rmdir /s/q %LYX_BUILD%
|
||
|
mkdir %LYX_BUILD%
|
||
|
|
||
|
cd %LYX_BUILD%
|
||
|
cmake %LYX_SOURCE% -GNinja -DLYX_3RDPARTY_BUILD=ON -DLYX_ENABLE_CXX11=ON -DLYX_USE_QT=QT5 -DLYX_MERGE_REBUILD=1 -DLYX_MERGE_FILES=1 -DLYX_NLS=1 -DLYX_INSTALL=1 -DLYX_RELEASE=1 -DLYX_CONSOLE=OFF
|
||
|
|
||
|
ninja
|
||
|
ninja install
|
||
|
|
||
|
cd ..
|
||
|
|
||
|
goto :eof
|
||
|
:eof
|