mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
20 lines
434 B
CMake
20 lines
434 B
CMake
file(
|
|
GLOB_RECURSE
|
|
agent_sources
|
|
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/*.c
|
|
)
|
|
|
|
add_library(agent SHARED ${agent_sources})
|
|
|
|
target_include_directories(agent PRIVATE
|
|
${CMAKE_SOURCE_DIR}/includes
|
|
${CMAKE_SOURCE_DIR}/includes/jvm
|
|
${CMAKE_SOURCE_DIR}/includes/jvm/win32
|
|
${CMAKE_CURRENT_SOURCE_DIR}/includes
|
|
)
|
|
|
|
target_link_libraries(agent PRIVATE
|
|
ReflectiveDLLInjection
|
|
jvm
|
|
) |