Skip to content

Commit

Permalink
Add win-arm, win-arm64, win-x64
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Dec 21, 2024
1 parent 92b5bf4 commit 68abcc9
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sources/SDL/Native/build-win-arm.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if not exist "../../../eng/submodules/sdl/CMakeLists.txt" (
git submodule update --init --recursive --depth 1 ..\..\..\eng\submodules\sdl
)

rd /s /q build
mkdir build
cd build
cmake ..\..\..\..\eng\submodules\sdl -A arm -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel
cd ..
mkdir runtimes\win-arm\native
copy build\SDL3.dll runtimes\win-arm\native
12 changes: 12 additions & 0 deletions sources/SDL/Native/build-win-arm64.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if not exist "../../../eng/submodules/sdl/CMakeLists.txt" (
git submodule update --init --recursive --depth 1 ..\..\..\eng\submodules\sdl
)

rd /s /q build
mkdir build
cd build
cmake ..\..\..\..\eng\submodules\sdl -A arm64 -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel
cd ..
mkdir runtimes\win-arm64\native
copy build\SDL3.dll runtimes\win-arm64\native
12 changes: 12 additions & 0 deletions sources/SDL/Native/build-win-x64.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
if not exist "../../../eng/submodules/sdl/CMakeLists.txt" (
git submodule update --init --recursive --depth 1 ..\..\..\eng\submodules\sdl
)

rd /s /q build
mkdir build
cd build
cmake ..\..\..\..\eng\submodules\sdl -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel
cd ..
mkdir runtimes\win-x64\native
copy build\SDL3.dll runtimes\win-x64\native

0 comments on commit 68abcc9

Please sign in to comment.