lyx_mirror/development/cmake/build.bat
Peter Kümmel 1729663bc7 cmake: install on Windows, sync with trunk, should be uncritical
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-01 12:24:21 +00:00

23 lines
757 B
Batchfile
Executable File

:: set here the path to Qt's bin folder and to the LyX-MSVC depend bin folder
:: (these are example paths)
PATH=D:\Qt\bin;D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008\bin;%PATH%
:: change directory to the folder where the compile result should be stored
:: (this is an example path)
cd D:\LyXSVN\lyx-devel\compile-result
cmake ..\development\cmake -G"Visual Studio 9 2008" -Dnls=1 -DGNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008 -Dmerge=0
:: clean
start lyx.sln :: /clean Release
:: rebuild all generated files
::cmake ..\cmake -Dmerge_rebuild=1
:: build release version
::start lyx.sln /build Release
:: return to the cmake folder where this script was started from
:: (this is an example path)
cd D:\LyXSVN\lyx-devel\development\cmake