Skip to content

Commit

Permalink
Add vs2022 CMake generator scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daggolin committed Jan 21, 2023
1 parent b5087e2 commit 2ca5d94
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build/create-vs2022-x64-projects.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@REM Create JK2MV projects for Visual Studio 2022 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!
)
mkdir msvc17_x64
cd msvc17_x64
cmake -G "Visual Studio 17" -A "x64" ../..
pause
17 changes: 17 additions & 0 deletions build/create-vs2022-x86-projects.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@REM Create JK2MV projects for Visual Studio 2022 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!
)
mkdir msvc17_x86
cd msvc17_x86
cmake -G "Visual Studio 17" -A "Win32" ../..
pause

0 comments on commit 2ca5d94

Please sign in to comment.