Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / randpkt_core / CMakeLists.txt
blob61c50f47f979d3ce3ffa9d47ac453b567e63df88
1 # CMakeLists.txt
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
11 set(RANDPKT_CORE_SRC
12         randpkt_core.c
15 set_source_files_properties(
16         ${RANDPKT_CORE_SRC}
17         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
24         ${RANDPKT_CORE_SRC}
27 set_target_properties(randpkt_core PROPERTIES
28         LINK_FLAGS "${WS_LINK_FLAGS}"
29         FOLDER "Libs")
30 if(MSVC)
31         set_target_properties(randpkt_core PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
32 endif()
34 target_link_libraries(randpkt_core PUBLIC ui)
36 CHECKAPI(
37         NAME
38           randpkt_core-base
39         SWITCHES
40         SOURCES
41           ${RANDPKT_CORE_SRC}
42           ${RANDPKT_CORE_HEADERS}
44 CHECKAPI(
45         NAME
46           randpkt_core-todo
47         SWITCHES
48           -M
49         SOURCES
50           ${RANDPKT_CORE_SRC}
51           ${RANDPKT_CORE_HEADERS}
55 # Editor modelines  -  https://www.wireshark.org/tools/modelines.html
57 # Local variables:
58 # c-basic-offset: 8
59 # tab-width: 8
60 # indent-tabs-mode: t
61 # End:
63 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
64 # :indentSize=8:tabSize=8:noTabs=false: