aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-06-05 08:39:52 -0400
committerJustin M. Keyes <justinkz@gmail.com>2018-06-06 00:58:57 +0200
commit90e3dd92209c02d2717739461d4a6c8ed9ad2f7c (patch)
tree24b2fafb34acb8edb4910b45bba2f9b2fb1e2fc1
parent7303dd3e54d6f2b2e4afd0acff2b6602ed2d60cf (diff)
downloadrneovim-90e3dd92209c02d2717739461d4a6c8ed9ad2f7c.tar.gz
rneovim-90e3dd92209c02d2717739461d4a6c8ed9ad2f7c.tar.bz2
rneovim-90e3dd92209c02d2717739461d4a6c8ed9ad2f7c.zip
makedeps.bat
-rw-r--r--.gitignore2
-rw-r--r--makedeps.bat18
2 files changed, 20 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 85b371b926..cf0a11804d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
# Tools
.ropeproject/
+# Visual Studio
+/.vs/
# Build/deps dir
/build/
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 ..
+