2012-09-14 20:23:18 +00:00
|
|
|
# CMakeLists.txt
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
set(COMMON_UI_SRC
|
|
|
|
alert_box.c
|
2012-10-18 21:14:43 +00:00
|
|
|
export_object.c
|
2012-10-16 22:57:22 +00:00
|
|
|
export_object_dicom.c
|
|
|
|
export_object_http.c
|
|
|
|
export_object_smb.c
|
2012-09-18 21:51:22 +00:00
|
|
|
help_url.c
|
2012-09-14 20:23:18 +00:00
|
|
|
iface_lists.c
|
2013-01-18 00:50:14 +00:00
|
|
|
preference_utils.c
|
2012-12-27 17:10:51 +00:00
|
|
|
profile.c
|
2013-02-02 05:25:39 +00:00
|
|
|
recent.c
|
2012-10-16 18:14:16 +00:00
|
|
|
ssl_key_export.c
|
2013-02-20 06:51:16 +00:00
|
|
|
software_update.c
|
2013-06-26 02:12:12 +00:00
|
|
|
tap-megaco-common.c
|
|
|
|
tap-rtp-common.c
|
2012-09-14 20:23:18 +00:00
|
|
|
text_import.c
|
2012-12-21 17:37:57 +00:00
|
|
|
time_shift.c
|
2012-09-14 20:23:18 +00:00
|
|
|
util.c
|
|
|
|
)
|
|
|
|
|
2012-12-17 21:24:22 +00:00
|
|
|
set(DIRTY_UI_SRC)
|
2012-09-14 20:23:18 +00:00
|
|
|
|
2012-12-17 21:24:22 +00:00
|
|
|
add_lex_files(DIRTY_UI_SRC
|
2012-09-14 20:23:18 +00:00
|
|
|
text_import_scanner.l
|
|
|
|
)
|
|
|
|
|
2012-12-17 21:24:22 +00:00
|
|
|
set(CLEAN_FILES
|
|
|
|
${COMMON_UI_SRC}
|
|
|
|
)
|
|
|
|
|
2012-09-14 20:23:18 +00:00
|
|
|
if (WERROR)
|
|
|
|
set_source_files_properties(
|
2013-04-22 19:00:29 +00:00
|
|
|
${CLEAN_FILES}
|
2012-09-14 20:23:18 +00:00
|
|
|
PROPERTIES
|
|
|
|
COMPILE_FLAGS -Werror
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
add_library(ui STATIC
|
|
|
|
${COMMON_UI_SRC}
|
2012-12-17 21:24:22 +00:00
|
|
|
${DIRTY_UI_SRC}
|
|
|
|
)
|
|
|
|
|
2013-04-22 19:00:29 +00:00
|
|
|
set_target_properties(ui PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
|