9 lines
420 B
CMake
9 lines
420 B
CMake
SET(CMAKE_AUTOMOC ON)
|
|
|
|
find_package(cppzmq REQUIRED)
|
|
|
|
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/)
|
|
target_link_libraries(mitmproxy_plugin PRIVATE Qt5::Core cppzmq)
|
|
set_target_properties(mitmproxy_plugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PLUGIN_DIR})
|