3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
7 # SPDX-License-Identifier: GPL-2.0-or-later
15 set_source_files_properties(
18 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
21 file(GLOB RANDPKT_CORE_HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" randpkt_core.h)
23 add_library(randpkt_core STATIC
27 set_target_properties(randpkt_core PROPERTIES
28 LINK_FLAGS "${WS_LINK_FLAGS}"
31 set_target_properties(randpkt_core PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
34 target_link_libraries(randpkt_core PUBLIC ui)
42 ${RANDPKT_CORE_HEADERS}
51 ${RANDPKT_CORE_HEADERS}
55 # Editor modelines - https://www.wireshark.org/tools/modelines.html
63 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
64 # :indentSize=8:tabSize=8:noTabs=false: