Permalink
Browse files

Externals: Add Xbyak

  • Loading branch information...
1 parent 16df1f8 commit 17fccb8c5d74dbf23d2f97ad86869a0feceb41c6 @yuriks yuriks committed Dec 11, 2016
Showing with 14 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +2 −0 CMakeLists.txt
  3. +8 −0 externals/CMakeLists.txt
  4. +1 −0 externals/xbyak
View
@@ -16,3 +16,6 @@
[submodule "dynarmic"]
path = externals/dynarmic
url = https://github.com/MerryMage/dynarmic.git
+[submodule "xbyak"]
+ path = externals/xbyak
+ url = https://github.com/herumi/xbyak.git
View
@@ -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)
@@ -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()
Submodule xbyak added at fe4765

0 comments on commit 17fccb8

Please sign in to comment.