diff --git a/.gitmodules b/.gitmodules index bcc9c0dd..46f683ec 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,3 +6,6 @@ [submodule "deps/phnt"] path = deps/phnt url = https://github.com/winsiderss/phnt.git +[submodule "deps/reflect"] + path = deps/reflect + url = https://github.com/qlibs/reflect.git diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index 91fb3a62..c791919f 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -1,7 +1,11 @@ set(UNICORN_ARCH "x86" CACHE STRING "") -########################################## - add_subdirectory(unicorn) add_subdirectory(phnt) +########################################## + +add_library(reflect INTERFACE) +target_include_directories(reflect INTERFACE + "${CMAKE_CURRENT_LIST_DIR}/reflect" +) diff --git a/deps/reflect b/deps/reflect new file mode 160000 index 00000000..2129a1a5 --- /dev/null +++ b/deps/reflect @@ -0,0 +1 @@ +Subproject commit 2129a1a551434faf364dcaa0bfc86a8eaa210df1 diff --git a/src/emulator/CMakeLists.txt b/src/emulator/CMakeLists.txt index 2e84237a..15a6cc79 100644 --- a/src/emulator/CMakeLists.txt +++ b/src/emulator/CMakeLists.txt @@ -16,6 +16,7 @@ target_link_libraries(emulator PRIVATE common unicorn phnt::phnt + reflect ) set_property(GLOBAL PROPERTY VS_STARTUP_PROJECT emulator)