mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +00:00
cmake/build.bat: make the script compilable (fix a syntax error) and add a "" pair for security reasons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40303 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
336eb1961d
commit
ca7607fcde
@ -29,7 +29,7 @@ if [%1]==[] (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM Add path to qmake here or set PATH correctly on your system.
|
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.
|
REM Edit pathes here or set the environment variables on you system.
|
||||||
set GNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2010
|
set GNUWIN32_DIR=D:\LyXSVN\lyx-devel\lyx-windows-deps-msvc2010
|
||||||
@ -50,10 +50,7 @@ if [%GNUWIN32_DIR%]==[] (
|
|||||||
echo GNUWIN32_DIR not set.
|
echo GNUWIN32_DIR not set.
|
||||||
echo Downloading win32 deps.
|
echo Downloading win32 deps.
|
||||||
set DEPENDENCIES_DOWNLOAD="-DLYX_DEPENDENCIES_DOWNLOAD=1"
|
set DEPENDENCIES_DOWNLOAD="-DLYX_DEPENDENCIES_DOWNLOAD=1"
|
||||||
) else (
|
) else set PATH="%GNUWIN32_DIR%\bin";%PATH%
|
||||||
echo LyX deps : "%GNUWIN32_DIR%"
|
|
||||||
set PATH=%GNUWIN32_DIR%\bin;%PATH%
|
|
||||||
)
|
|
||||||
|
|
||||||
if not exist %LYX_BUILD% (
|
if not exist %LYX_BUILD% (
|
||||||
echo creating "%LYX_BUILD%"
|
echo creating "%LYX_BUILD%"
|
||||||
|
Loading…
Reference in New Issue
Block a user