aboutsummaryrefslogtreecommitdiff
path: root/makedeps.bat
diff options
context:
space:
mode:
Diffstat (limited to 'makedeps.bat')
-rw-r--r--makedeps.bat18
1 files changed, 18 insertions, 0 deletions
diff --git a/makedeps.bat b/makedeps.bat
new file mode 100644
index 0000000000..a614885568
--- /dev/null
+++ b/makedeps.bat
@@ -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 ..
+