CMakeList.txt (ui/gtk/qt) fix indent and modelines
[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         follow.c
36         help_url.c
37         iface_lists.c
38         io_graph_item.c
39         language.c
40         mcast_stream.c
41         packet_list_utils.c
42         persfilepath_opt.c
43         preference_utils.c
44         profile.c
45         proto_hier_stats.c
46         recent.c
47         rtp_media.c
48         rtp_stream.c
49         service_response_time.c
50         software_update.c
51         ssl_key_export.c
52         tap_export_pdu.c
53         tap-iax2-analysis.c
54         tap-rtp-common.c
55         tap-sctp-analysis.c
56         tap-sequence-analysis.c
57         tap-rlc-graph.c
58         tap-tcp-stream.c
59         text_import.c
60         time_shift.c
61         traffic_table_ui.c
62         util.c
63         voip_calls.c
64 )
65
66 # Enables visibility in IDEs
67 file(GLOB EXTRA_UI_HEADERS
68         rtp_media.h
69         rtp_stream.h
70         tap-iax2-analysis.h
71         tap-rtp-analysis.h
72 )
73
74 set(DIRTY_UI_SRC)
75
76 add_lex_files(DIRTY_UI_SRC
77         text_import_scanner.l
78 )
79
80 set(CLEAN_FILES
81         ${COMMON_UI_SRC}
82 )
83
84 if (WERROR_COMMON_FLAGS)
85         set_source_files_properties(
86                 ${CLEAN_FILES}
87                 PROPERTIES
88                 COMPILE_FLAGS ${WERROR_COMMON_FLAGS}
89         )
90 endif()
91
92
93 add_library(ui STATIC
94         ${COMMON_UI_SRC}
95         ${DIRTY_UI_SRC}
96 )
97
98 set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
99 set_target_properties(ui PROPERTIES FOLDER "UI")
100
101 #
102 # Editor modelines  -  http://www.wireshark.org/tools/modelines.html
103 #
104 # Local variables:
105 # c-basic-offset: 8
106 # tab-width: 8
107 # indent-tabs-mode: t
108 # End:
109 #
110 # vi: set shiftwidth=8 tabstop=8 noexpandtab:
111 # :indentSize=8:tabSize=8:noTabs=false:
112 #