makedeps.bat

This commit is contained in:
Justin M. Keyes 2018-06-05 08:39:52 -04:00
parent 7303dd3e54
commit 90e3dd9220
2 changed files with 20 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
# Tools
.ropeproject/
# Visual Studio
/.vs/
# Build/deps dir
/build/

18
makedeps.bat Normal file
View File

@ -0,0 +1,18 @@
echo off
if not defined VS150COMNTOOLS (
echo error: missing VS150COMNTOOLS environment variable.
echo Run this script from the 'Developer Command Prompt'.
exit /b 1
)
echo on
set CMAKE=%VS150COMNTOOLS%\..\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe
mkdir .deps
cd .deps
"%CMAKE%" -G "Visual Studio 15 2017" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ..\third-party\
"%CMAKE%" --build . --config RelWithDebInfo -- "/verbosity:normal"
cd ..