Files
JuiceAgent/src/injector/CMakeLists.txt
T
xiaozhou233 483a12cd3c Feat: implement the Linux injector with ptrace-inject-cpp
- cmake: build the ptrace-inject-cpp submodule on non-Windows with its CLI and
  examples disabled, and link ptrace_inject::ptrace_inject into the injector
- injector: replace the placeholder injector_linux.c with injector_linux.cpp,
  a CLI that injects a shared library into -p PID or -n NAME and forwards the
  library's log output to stderr
2026-10-20 13:36:22 +08:00

8 lines
197 B
CMake

# injector
if(WIN32)
add_executable(injector injector.c)
else()
add_executable(injector injector_linux.cpp)
target_link_libraries(injector PRIVATE ptrace_inject::ptrace_inject)
endif()