MSWSP: WIP: dissect_CPMSetBindings()
[wireshark-wip.git] / ui / CMakeLists.txt
blob9fa6bca911b6a6e9445ee5d32ad98c27c8a001fc
1 # CMakeLists.txt
3 # $Id$
5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 set(COMMON_UI_SRC
26         alert_box.c
27         export_object.c
28         export_object_dicom.c
29         export_object_http.c
30         export_object_smb.c
31         follow.c
32         help_url.c
33         packet_list_utils.c
34         iface_lists.c
35         preference_utils.c
36         profile.c
37         recent.c
38         ssl_key_export.c
39         software_update.c
40         tap-megaco-common.c
41         tap-rtp-common.c
42         tap-sctp-analysis.c
43         tap-sequence-analysis.c
44         tap-tcp-stream.c
45         text_import.c
46         time_shift.c
47         util.c
50 set(DIRTY_UI_SRC)
52 add_lex_files(DIRTY_UI_SRC
53         text_import_scanner.l
56 set(CLEAN_FILES
57         ${COMMON_UI_SRC}
60 if (WERROR)
61         set_source_files_properties(
62                 ${CLEAN_FILES}
63                 PROPERTIES
64                 COMPILE_FLAGS -Werror
65         )
66 endif()
69 add_library(ui STATIC
70         ${COMMON_UI_SRC}
71         ${DIRTY_UI_SRC}
74 set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
75 set_target_properties(ui PROPERTIES FOLDER "UI")