forked from JACoders/OpenJK
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also ensure to use Win32 architecture for all versions. Specifying Win32 is necessary going forward with VS2019 on Win64 host.
- Loading branch information
Showing
4 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@REM Create OpenJK projects for Visual Studio 2017 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 15 2017" -A Win32 -D CMAKE_INSTALL_PREFIX=../install .. | ||
popd | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@REM Create OpenJK projects for Visual Studio 2017 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 16 2019" -A Win32 -D CMAKE_INSTALL_PREFIX=../install .. | ||
popd | ||
pause |