Skip to content

Commit 2869d76

Browse files
committed
zydis submodule
1 parent c10341c commit 2869d76

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,6 @@
118118
[submodule "externals/curl/curl"]
119119
path = externals/curl/curl
120120
url = https://github.com/curl/curl.git
121+
[submodule "externals/wamr/zydis"]
122+
path = externals/wamr/zydis
123+
url = https://github.com/zyantific/zydis.git

externals/wamr/CMakeLists.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ set(WAMR_DISABLE_STACK_HW_BOUND_CHECK 0)
3939
set(WAMR_DISABLE_WAKEUP_BLOCKING_OP 0)
4040
add_compile_definitions(BUILTIN_LIBC_BUFFERED_PRINTF=1 BUILTIN_LIBC_BUFFERED_PRINT_SIZE=512)
4141
add_compile_definitions("$<$<CONFIG:Debug>:BH_DEBUG=1>")
42+
43+
include(FetchContent)
44+
FetchContent_Declare(
45+
zycore
46+
URL "${CMAKE_CURRENT_LIST_DIR}/zydis/dependencies/zycore"
47+
)
48+
FetchContent_Declare(
49+
zydis
50+
URL "${CMAKE_CURRENT_LIST_DIR}/zydis"
51+
)
4252
cmake_policy(SET CMP0169 OLD) # allow FetchContent_Populate
4353

4454
include("${CMAKE_CURRENT_LIST_DIR}/wamr/build-scripts/runtime_lib.cmake")

externals/wamr/zydis

Submodule zydis added at e14a078

0 commit comments

Comments
 (0)