diff --git a/development/cmake/build.bat b/development/cmake/build.bat index f748ef9707..c0ae740855 100755 --- a/development/cmake/build.bat +++ b/development/cmake/build.bat @@ -23,12 +23,12 @@ if [%1]==[] ( ) REM Add path to qmake here or set PATH correctly on your system. -::set PATH=D:\Qt\bin;%PATH% +set PATH=D:\Qt\bin;%PATH% REM Edit pathes here or set the environment variables on you system. -::set GNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008 -::set LYX_SOURCE=D:\LyXSVN\lyx-devel. -::set LXY_BUILD=D:\LyXSVN\compile-result +set GNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2008 +set LYX_SOURCE=D:\LyXSVN\lyx-devel +set LYX_BUILD=D:\LyXSVN\lyx-devel\compile-result if [%LYX_BUILD%]==[] ( echo ERROR: LYX_BUILD not set. @@ -97,6 +97,8 @@ if "%1%" == "deploy" ( nmake install ) +:: return to the cmake folder where this script was started from +cd %LYX_SOURCE%\development\cmake :eof