bigsnitch/plugins/mitmproxy/CMakeLists.txt

10 lines
420 B
CMake
Raw Permalink Normal View History

2021-03-19 16:40:33 +00:00
SET(CMAKE_AUTOMOC ON)
2021-03-20 21:56:03 +00:00
find_package(cppzmq REQUIRED)
2021-03-20 01:37:12 +00:00
add_compile_definitions(IS_HTTP_PROXY_INTERFACE)
add_library(mitmproxy_plugin SHARED mitmproxy_network.cpp mitmproxy_network.h mitmproxy.json)
target_include_directories(mitmproxy_plugin PRIVATE ../../include/)
2021-03-03 16:12:12 +00:00
target_link_libraries(mitmproxy_plugin PRIVATE Qt5::Core cppzmq)
set_target_properties(mitmproxy_plugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR})