mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-26 02:57:55 +00:00
Externals: Add Xbyak
This commit is contained in:
parent
16df1f8078
commit
17fccb8c5d
4 changed files with 14 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -16,3 +16,6 @@
|
||||||
[submodule "dynarmic"]
|
[submodule "dynarmic"]
|
||||||
path = externals/dynarmic
|
path = externals/dynarmic
|
||||||
url = https://github.com/MerryMage/dynarmic.git
|
url = https://github.com/MerryMage/dynarmic.git
|
||||||
|
[submodule "xbyak"]
|
||||||
|
path = externals/xbyak
|
||||||
|
url = https://github.com/herumi/xbyak.git
|
||||||
|
|
|
@ -256,6 +256,8 @@ set(INI_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/externals/inih")
|
||||||
include_directories(${INI_PREFIX})
|
include_directories(${INI_PREFIX})
|
||||||
add_subdirectory(${INI_PREFIX})
|
add_subdirectory(${INI_PREFIX})
|
||||||
|
|
||||||
|
add_subdirectory(externals)
|
||||||
|
|
||||||
option(DYNARMIC_TESTS OFF)
|
option(DYNARMIC_TESTS OFF)
|
||||||
add_subdirectory(externals/dynarmic)
|
add_subdirectory(externals/dynarmic)
|
||||||
|
|
||||||
|
|
8
externals/CMakeLists.txt
vendored
Normal file
8
externals/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# Xbyak
|
||||||
|
if (ARCHITECTURE_x86_64)
|
||||||
|
add_library(xbyak INTERFACE)
|
||||||
|
target_include_directories(xbyak INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/xbyak/xbyak)
|
||||||
|
if (NOT MSVC)
|
||||||
|
target_compile_options(xbyak INTERFACE -fno-operator-names)
|
||||||
|
endif()
|
||||||
|
endif()
|
1
externals/xbyak
vendored
Submodule
1
externals/xbyak
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit fe4765d2fed4e990ea5e9661b6bc5fc9bf48ec16
|
Loading…
Reference in a new issue