1
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; either version 3 of the License, or
6
# (at your option) any later version.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
SET(LIB_GUI_COMMON_SRC
19
gui-bar-item.c gui-bar-item.h
20
gui-bar-window.c gui-bar-window.h
21
gui-buffer.c gui-buffer.h
23
gui-color.c gui-color.h
24
gui-filter.c gui-filter.h
25
gui-completion.c gui-completion.h
26
gui-history.c gui-history.h
27
gui-hotlist.c gui-hotlist.h
28
gui-input.c gui-input.h
29
gui-keyboard.c gui-keyboard.h
30
gui-layout.c gui-layout.h
33
gui-nicklist.c gui-nicklist.h
34
gui-window.c gui-window.h)
36
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
37
ADD_LIBRARY(weechat_gui_common STATIC ${LIB_GUI_COMMON_SRC})
39
IF(NOT DISABLE_NCURSES)
41
ENDIF(NOT DISABLE_NCURSES)
44
ADD_SUBDIRECTORY( gtk )