mirror of https://github.com/AxioDL/metaforce.git
Fixes for Apple Silicon
Updates amuse, hecl, nod, specter
This commit is contained in:
parent
0cdacb1f37
commit
4b9bdcc802
|
@ -131,6 +131,7 @@ if(MSVC)
|
|||
endif()
|
||||
|
||||
else()
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
|
||||
if(${URDE_VECTOR_ISA} STREQUAL "native")
|
||||
add_compile_options(-march=native)
|
||||
message(STATUS "Building with native ISA")
|
||||
|
@ -154,6 +155,7 @@ else()
|
|||
else()
|
||||
message(STATUS "Building with x87 Vector ISA")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag(-fno-plt HAS_NO_PLT)
|
||||
|
|
|
@ -85,6 +85,24 @@ add_executable(urde WIN32 MACOSX_BUNDLE
|
|||
Resource.hpp Resource.cpp
|
||||
Camera.hpp Camera.cpp
|
||||
GameMode.hpp GameMode.cpp)
|
||||
|
||||
target_compile_definitions(urde PUBLIC URDE_DLPACKAGE="${URDE_DLPACKAGE}")
|
||||
|
||||
target_include_directories(urde PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/Runtime # FIXME atdna cmake issue
|
||||
${CMAKE_BINARY_DIR})
|
||||
|
||||
target_link_libraries(urde
|
||||
UrdeIcons
|
||||
UrdeBadging
|
||||
RuntimeCommon
|
||||
amuse
|
||||
RetroDataSpec
|
||||
kabufuda
|
||||
${URDE_PLAT_LIBS})
|
||||
|
||||
target_atdna(urde atdna_Space.cpp Space.hpp)
|
||||
target_atdna(urde atdna_ResourceBrowser.cpp ResourceBrowser.hpp)
|
||||
target_atdna(urde atdna_ModelViewer.cpp ModelViewer.hpp)
|
||||
|
@ -92,15 +110,6 @@ target_atdna(urde atdna_ParticleEditor.cpp ParticleEditor.hpp)
|
|||
target_atdna(urde atdna_InformationCenter.cpp InformationCenter.hpp)
|
||||
target_atdna(urde atdna_GameMode.cpp GameMode.hpp)
|
||||
|
||||
target_compile_definitions(urde PUBLIC URDE_DLPACKAGE="${URDE_DLPACKAGE}")
|
||||
|
||||
target_include_directories(urde PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_BINARY_DIR})
|
||||
|
||||
target_link_libraries(urde
|
||||
UrdeIcons
|
||||
UrdeBadging
|
||||
RuntimeCommon
|
||||
${URDE_PLAT_LIBS})
|
||||
if(COMMAND add_sanitizers)
|
||||
add_sanitizers(urde)
|
||||
endif()
|
||||
|
|
|
@ -25,6 +25,7 @@ static hecl::SystemString CPUFeatureString(const zeus::CPUInfo& cpuInf) {
|
|||
features += _SYS_STR(", ");
|
||||
features += str;
|
||||
};
|
||||
#if __x86_64__
|
||||
if (cpuInf.AESNI)
|
||||
AddFeature(_SYS_STR("AES-NI"));
|
||||
if (cpuInf.SSE1)
|
||||
|
@ -45,6 +46,7 @@ static hecl::SystemString CPUFeatureString(const zeus::CPUInfo& cpuInf) {
|
|||
AddFeature(_SYS_STR("AVX"));
|
||||
if (cpuInf.AVX2)
|
||||
AddFeature(_SYS_STR("AVX2"));
|
||||
#endif
|
||||
return features;
|
||||
}
|
||||
|
||||
|
|
2
amuse
2
amuse
|
@ -1 +1 @@
|
|||
Subproject commit 12752933271d7cf5ba48b8170e23c23c77257244
|
||||
Subproject commit d3c4f568bbe3dc5d74bd0e5d323b1450e651802c
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit 2b75ffed470e6f9287da83bca72039ab2598c261
|
||||
Subproject commit 8d5c99e10a9f23399906f606d59ed7e55abba09e
|
2
nod
2
nod
|
@ -1 +1 @@
|
|||
Subproject commit d53d6770386b5944a4e65251bde30596332bdc2c
|
||||
Subproject commit 02c188497af89e188edcc82387f787057739e530
|
2
specter
2
specter
|
@ -1 +1 @@
|
|||
Subproject commit 23f70151250ac08c78559ad71bf92e80912e678d
|
||||
Subproject commit a323942118918bda0e9c5c6a9cfc41a21a60ef65
|
Loading…
Reference in New Issue