Skip to content

Commit

Permalink
makedeps.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk committed Jun 5, 2018
1 parent 7303dd3 commit 90e3dd9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Tools
.ropeproject/
# Visual Studio
/.vs/

# Build/deps dir
/build/
Expand Down
18 changes: 18 additions & 0 deletions makedeps.bat
Original file line number Diff line number Diff line change
@@ -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 ..

0 comments on commit 90e3dd9

Please sign in to comment.