aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dissectors/epan/octoclock/CMakeLists.txt
blob: dcc8077c9d4ccd6dc4f78f39a91cff2f0aa21f04 (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
set_module_info(octoclock 4 0 0 0)

set(DISSECTOR_SRC
	${CMAKE_CURRENT_SOURCE_DIR}/packet-octoclock.c
)

set(PLUGIN_FILES
	${CMAKE_CURRENT_BINARY_DIR}/plugin.c
	${DISSECTOR_SRC}
)

register_plugin_files(${CMAKE_CURRENT_BINARY_DIR}/plugin.c
	plugin
	${DISSECTOR_SRC}
)

add_plugin_library(octoclock epan)

set_target_properties(octoclock PROPERTIES PREFIX "")
set_target_properties(octoclock PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
target_link_libraries(octoclock wireshark epan)

install_plugin(octoclock epan)