From: Uwe Stöhr Date: Thu, 1 Apr 2010 00:38:41 +0000 (+0000) Subject: cmake/build.bat: update file as example X-Git-Tag: 2.0.0~3582 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0ad3abd5346b3075d5bbe3c2d2c684a9ca65096a;p=features.git cmake/build.bat: update file as example git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33999 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/cmake/build.bat b/development/cmake/build.bat index 71dee80604..54ae14def4 100755 --- a/development/cmake/build.bat +++ b/development/cmake/build.bat @@ -1,12 +1,22 @@ -:: be sure there is a solution -cmake ..\trunk\development\cmake -Dmerge=1 +:: 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 -devenv lyx.sln /clean Release +start lyx.sln :: /clean Release :: rebuild all generated files -cmake ..\trunk\development\cmake -Dmerge_rebuild=1 +::cmake ..\cmake -Dmerge_rebuild=1 :: build release version -devenv lyx.sln /build Release +::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