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
10 set(NONGENERATED_UI_SRC
37 service_response_time.c
54 # Enables visibility in IDEs
55 file(GLOB EXTRA_UI_HEADERS
63 set(UI_SRC ${NONGENERATED_UI_SRC})
65 add_lex_files(LEX_FILES UI_SRC
69 set_source_files_properties(
70 ${NONGENERATED_UI_SRC}
72 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
75 add_library(ui STATIC ${UI_SRC})
77 target_link_libraries(ui
84 target_include_directories(ui
87 ${WINSPARKLE_INCLUDE_DIRS}
90 add_library(summary STATIC summary.c)
92 target_link_libraries(summary
100 target_include_directories(summary
102 ${GCRYPT_INCLUDE_DIRS}
105 set_target_properties(ui summary PROPERTIES
106 LINK_FLAGS "${WS_LINK_FLAGS}"
110 set_target_properties(ui summary PROPERTIES
111 LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}"
120 ${NONGENERATED_UI_SRC}
121 # Flex files not included due to use of malloc, free etc.
129 ${NONGENERATED_UI_SRC}
130 # Flex files not included due to use of malloc, free etc.
134 # Editor modelines - https://www.wireshark.org/tools/modelines.html
139 # indent-tabs-mode: t
142 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
143 # :indentSize=8:tabSize=8:noTabs=false: