Update build scripts to use vs 2019 build tools
This commit is contained in:
1 parent
d53bfb70ff
commit
799126f06a
2 files changed
+1
-6
No files matched your search
@@ -5,7 +5,6 @@ if not exist build\src\lib\libspark.vcxproj (
|
||||
@call tools\setup_builds.bat
|
||||
)
|
||||
copy /y tools\cpp.build.props build\Directory.Build.Props > nul
|
||||
@call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat" > nul
|
||||
cd /d %~dp0\..
|
||||
set path=%spark_build_python_path%;%path%
|
||||
touch src\lib\CMakeLists.txt
|
||||
|
||||
@@ -5,11 +5,7 @@ mkdir build 2> nul
|
||||
cd build
|
||||
rmdir /s /q Debug
|
||||
rmdir /s /q Release
|
||||
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" (
|
||||
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -G "Visual Studio 15 2017 Win64" ..
|
||||
) else (
|
||||
cmake.exe -G "Visual Studio 15 2017 Win64" ..
|
||||
)
|
||||
cmake.exe -G "Visual Studio 16 2019" ..
|
||||
copy /y ..\tools\cpp.build.props Directory.Build.Props
|
||||
del spark.sln
|
||||
%~dp0\nuget_restore.cmd
|
||||
Reference in new issue
Block a user