Browse files

General: Add batch file for creating VS 2015 projects.

Requires CMake 3.1.3 or newer.
  • Loading branch information...
ensiform committed Jul 25, 2015
1 parent 5c50fac commit 7789776f3e37b1464df4cde571d3d03fe1ec7fb6
Showing with 18 additions and 0 deletions.
  1. +18 −0 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 and cmake.exe is installed to your system's PATH
echo environment variable.
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 ..

0 comments on commit 7789776

Please sign in to comment.