vnpy/binding/build.bat

17 lines
359 B
Batchfile
Raw Normal View History

2019-01-25 03:28:21 +00:00
@echo off
if "%VS150COMNTOOLS%"=="" (
echo Please run this batch file under "x64 Native Tools Command Prompt for VS 2017"
echo Read the doc!
exit 1
)
@echo on
set binding_dir=%~dp0
cd %binding_dir%
rmdir /S /Q build
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" ..
msbuild vnpy_binding.sln /p:Configuration=Release /p:Platform=x64