Skip to content

Commit

Permalink
General: Add batch file for creating VS 2015 projects.
Browse files Browse the repository at this point in the history
Requires CMake 3.1.3 or newer.
  • Loading branch information
ensiform committed Jul 25, 2015
1 parent 5c50fac commit 7789776
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CreateVisualStudio2015Projects.bat
@@ -0,0 +1,18 @@
@REM Create OpenJK projects for Visual Studio 2015 using CMake
@echo off
for %%X in (cmake.exe) do (set FOUND=%%~$PATH:X)
if not defined FOUND (
echo CMake was not found on your system. Please make sure you have installed CMake
echo from http://www.cmake.org/ and cmake.exe is installed to your system's PATH
echo environment variable.
echo.
pause
exit /b 1
) else (
echo Found CMake!
)
if not exist build\nul (mkdir build)
pushd build
cmake -G "Visual Studio 14" -D CMAKE_INSTALL_PREFIX=../install ..
popd
pause

0 comments on commit 7789776

Please sign in to comment.