blob: 03c4f1da12733bb216dea9c9137e645467eca3e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
add_library(hybbx_plugin_crdop STATIC
crdop.c
crdop_config.c
)
target_include_directories(hybbx_plugin_crdop
PRIVATE
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/plugins/ardop
${CMAKE_CURRENT_SOURCE_DIR}
)
target_compile_definitions(hybbx_plugin_crdop
PRIVATE HYBBX_PLUGIN_BUILD
)
target_link_libraries(hybbx_plugin_crdop PRIVATE hybbx_ardop_common)
hybbx_link_plugin_instances(hybbx_plugin_crdop HYBBX_HAVE_PLUGIN_CRDOP)
hybbx_apply_hardening(hybbx_plugin_crdop)
if(HYBBX_INSTALL_DEV)
install(TARGETS hybbx_plugin_crdop
ARCHIVE DESTINATION ${HYBBX_PLUGIN_INSTALL_DIR}
LIBRARY DESTINATION ${HYBBX_PLUGIN_INSTALL_DIR}
)
endif()
|