VERY experimental Nintendo Switch 2 emulator
C++
Externals: Add Xbyak
Yuri Kunde Schlesnerfec927591ee9
diff --git a/.gitmodules b/.gitmodulesindex f498a60de5..dbb1b0dd36 100644--- a/.gitmodules+++ b/.gitmodules@@ -16,3 +16,6 @@[submodule "dynarmic"]path = externals/dynarmicurl = https://github.com/MerryMage/dynarmic.git+[submodule "xbyak"]+ path = externals/xbyak+ url = https://github.com/herumi/xbyak.gitdiff --git a/CMakeLists.txt b/CMakeLists.txtindex 2c00690c02..bcee98a5f1 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -256,6 +256,8 @@ set(INI_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/externals/inih")include_directories(${INI_PREFIX})add_subdirectory(${INI_PREFIX})+add_subdirectory(externals)+option(DYNARMIC_TESTS OFF)add_subdirectory(externals/dynarmic)diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txtnew file mode 100644index 0000000000..7e4b05ffcb--- /dev/null+++ b/externals/CMakeLists.txt@@ -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()diff --git a/externals/xbyak b/externals/xbyaknew file mode 160000index 0000000000..fe4765d2fe--- /dev/null+++ b/externals/xbyak@@ -0,0 +1 @@+Subproject commit fe4765d2fed4e990ea5e9661b6bc5fc9bf48ec16