Skip to content

Commit

Permalink
Added arm64 as a build target.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Feb 8, 2023
1 parent a6ea966 commit b98e438
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/eepp-windows-build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- name: Build
shell: cmd
run: |
"%MSBUILD_PATH%\MSBuild.exe" .\make\windows\eepp.sln -m
"%MSBUILD_PATH%\MSBuild.exe" .\make\windows\eepp.sln -m /p:Platform="x64"
3 changes: 2 additions & 1 deletion include/eepp/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
#define EE_COMPILER_GCC
#endif

#if defined( arm ) || defined( __arm__ )
#if defined( arm ) || defined( __arm__ ) || defined( __aarch64__ ) || defined( _M_ARM64 ) || \
defined( __ARM_ARCH_ISA_A64 ) || defined( __ARM_ARCH_7S__ ) || defined( __ARM_ARCH_7A__ )
#define EE_ARM
#endif

Expand Down
2 changes: 1 addition & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ workspace "eepp"
platforms { "x86_64", "arm64" }
else
configurations { "debug", "release" }
platforms { "x86_64", "x86" }
platforms { "x86_64", "x86", "arm64" }
end
rtti "On"
download_and_extract_dependencies()
Expand Down

0 comments on commit b98e438

Please sign in to comment.