Remove quotes from most variables in msvc_build.bat
In cmd.exe quote characters are included to a variable value which causes problems in using the result of concatenation of such variables since the result becomes like this: C:\MuseScore\"msvc.build"_"x64"\mscore which is interpeted by some programs as this: C:\MuseScore"msvc.build_x64\mscore ^^^ which leads to invalid results.
This commit is contained in:
parent
05169e935d
commit
e6ac39d455
|
@ -31,19 +31,19 @@ REM CLEAN:
|
|||
REM "msvc_build.bat clean" remove all files in msvc.* folders and the folders itself
|
||||
|
||||
REM BUILD_64 and BUILD_FOR_WINSTORE are used in CMakeLists.txt
|
||||
SET BUILD_FOR_WINSTORE="OFF"
|
||||
SET BUILD_64="ON"
|
||||
SET BUILD_FOR_WINSTORE=OFF
|
||||
SET BUILD_64=ON
|
||||
|
||||
SET BUILD_FOLDER="msvc.build"
|
||||
SET INSTALL_FOLDER="msvc.install"
|
||||
SET ARCH="x64"
|
||||
SET BUILD_FOLDER=msvc.build
|
||||
SET INSTALL_FOLDER=msvc.install
|
||||
SET ARCH=x64
|
||||
SET GENERATOR_NAME="Visual Studio 15 2017 Win64"
|
||||
|
||||
IF NOT "%2"=="" (
|
||||
IF "%2"=="32" (
|
||||
SET ARCH="x86"
|
||||
SET ARCH=x86
|
||||
SET GENERATOR_NAME="Visual Studio 15 2017"
|
||||
SET BUILD_64="OFF"
|
||||
SET BUILD_64=OFF
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue