Cleanup follow stream code
[metze/wireshark/wip.git] / ui / CMakeLists.txt
1 # CMakeLists.txt
2 #
3 # Wireshark - Network traffic analyzer
4 # By Gerald Combs <gerald@wireshark.org>
5 # Copyright 1998 Gerald Combs
6 #
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21
22
23 set(COMMON_UI_SRC
24         alert_box.c
25         capture.c
26         capture_ui_utils.c
27         console.c
28         decode_as_utils.c
29         export_object.c
30         export_object_dicom.c
31         export_object_http.c
32         export_object_smb.c
33         export_object_tftp.c
34         filters.c
35         help_url.c
36         iface_lists.c
37         io_graph_item.c
38         language.c
39         mcast_stream.c
40         packet_list_utils.c
41         persfilepath_opt.c
42         preference_utils.c
43         profile.c
44         proto_hier_stats.c
45         recent.c
46         rtp_media.c
47         rtp_stream.c
48         service_response_time.c
49         software_update.c
50         ssl_key_export.c
51         tap_export_pdu.c
52         tap-iax2-analysis.c
53         tap-rtp-common.c
54         tap-sctp-analysis.c
55         tap-sequence-analysis.c
56         tap-rlc-graph.c
57         tap-tcp-stream.c
58         text_import.c
59         time_shift.c
60         traffic_table_ui.c
61         util.c
62         voip_calls.c
63 )
64
65 # Enables visibility in IDEs
66 file(GLOB EXTRA_UI_HEADERS
67         rtp_media.h
68         rtp_stream.h
69         tap-iax2-analysis.h
70         tap-rtp-analysis.h
71 )
72
73 set(DIRTY_UI_SRC)
74
75 add_lex_files(DIRTY_UI_SRC
76         text_import_scanner.l
77 )
78
79 set(CLEAN_FILES
80         ${COMMON_UI_SRC}
81 )
82
83 if (WERROR_COMMON_FLAGS)
84         set_source_files_properties(
85                 ${CLEAN_FILES}
86                 PROPERTIES
87                 COMPILE_FLAGS ${WERROR_COMMON_FLAGS}
88         )
89 endif()
90
91
92 add_library(ui STATIC
93         ${COMMON_UI_SRC}
94         ${DIRTY_UI_SRC}
95 )
96
97 set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
98 set_target_properties(ui PROPERTIES FOLDER "UI")
99
100 #
101 # Editor modelines  -  http://www.wireshark.org/tools/modelines.html
102 #
103 # Local variables:
104 # c-basic-offset: 8
105 # tab-width: 8
106 # indent-tabs-mode: t
107 # End:
108 #
109 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
110 # :indentSize=8:tabSize=8:noTabs=false:
111 #