summaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-11 14:59:28 -0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-14 20:06:08 -0800
commit17fccb8c5d74dbf23d2f97ad86869a0feceb41c6 (patch)
tree1a2fff7c01896a21d65edfaff688cc5eef7c057e /externals
parent16df1f8078d694ed808074010ac9a9fd57478fb6 (diff)
Externals: Add Xbyak
Diffstat (limited to 'externals')
-rw-r--r--externals/CMakeLists.txt8
m---------externals/xbyak0
2 files changed, 8 insertions, 0 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
new file mode 100644
index 000000000..7e4b05ffc
--- /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/xbyak
new file mode 160000
+Subproject fe4765d2fed4e990ea5e9661b6bc5fc9bf48ec1