Commit bbb55ea3 authored by TheNumbat's avatar TheNumbat
Browse files

buildtools in build_win

parent 5ca3e1eb
@echo off @echo off
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" > NUL 2> NUL call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" > NUL 2> NUL
) else if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" > NUL 2> NUL
) else (
rem "Could not find visual studio C++ build environment."
)
mkdir build mkdir build
pushd build pushd build
cmake .. cmake ..
if "%1"=="configure" exit if "%1"=="configure" exit
if [%1]==[] (cmake --build . --config RelWithDebInfo) if [%1]==[] (cmake --build . --config RelWithDebInfo)
if not [%1]==[] (cmake --build . --config %1) if not [%1]==[] (cmake --build . --config %1)
popd popd
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment