aboutsummaryrefslogtreecommitdiff
path: root/makedeps.bat
blob: a614885568e94012d6a2c6d7d206b59de2069428 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 ..