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
38 service_response_time.c
55 # Enables visibility in IDEs
56 file(GLOB EXTRA_UI_HEADERS
64 set(UI_SRC ${NONGENERATED_UI_SRC})
66 add_lex_files(LEX_FILES UI_SRC
70 set_source_files_properties(
71 ${NONGENERATED_UI_SRC}
73 COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
76 add_library(ui STATIC ${UI_SRC})
78 target_link_libraries(ui
85 target_include_directories(ui
88 ${WINSPARKLE_INCLUDE_DIRS}
91 add_library(summary STATIC summary.c)
93 target_link_libraries(summary
101 target_include_directories(summary
103 ${GCRYPT_INCLUDE_DIRS}
106 set_target_properties(ui summary PROPERTIES
107 LINK_FLAGS "${WS_LINK_FLAGS}"
111 set_target_properties(ui summary PROPERTIES
112 LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}"
121 ${NONGENERATED_UI_SRC}
122 # Flex files not included due to use of malloc, free etc.
130 ${NONGENERATED_UI_SRC}
131 # Flex files not included due to use of malloc, free etc.
135 # Editor modelines - https://www.wireshark.org/tools/modelines.html
140 # indent-tabs-mode: t
143 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
144 # :indentSize=8:tabSize=8:noTabs=false: