[Refactor] (Project structure reorganization and modular CMake setup)

[Add] Introduced structured directories: core, injector, loader, utils, ReflectiveDLLInjection
[Add] Individual CMakeLists.txt for each module with target linking and unified output
[Change] Updated root CMakeLists.txt to handle modular builds and output directory configuration
[Keep] ReflectiveDLLInjection structure unchanged for compatibility
[Improve] Overall build clarity, modular maintainability, and code scalability
This commit is contained in:
xiaozhou233 committed 2025-10-08 02:24:49 +08:00
1 parent a09c440a2d
commit a11fbf76ab
8 files changed
+86 -44

No files matched your search

@@ -0,0 +1,9 @@
add_library(ReflectiveDLLInjection STATIC
GetProcAddressR.c
LoadLibraryR.c
ReflectiveLoader.c
)
target_include_directories(ReflectiveDLLInjection PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)