~ubuntu-branches/ubuntu/trusty/weechat/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Emmanuel Bouthenot
  • Date: 2009-09-15 20:58:07 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090915205807-nd2nx3kof2aldqbt
Tags: 0.3.0-1
* New (final) upstream release.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
 
2
#
 
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.
 
7
#
 
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.
 
12
#
 
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/>.
 
15
#
 
16
 
 
17
SET(LIB_GUI_COMMON_SRC
 
18
gui-bar.c gui-bar.h
 
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
 
22
gui-chat.c gui-chat.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
 
31
gui-line.c gui-line.h
 
32
gui-main.h
 
33
gui-nicklist.c gui-nicklist.h
 
34
gui-window.c gui-window.h)
 
35
 
 
36
INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
 
37
ADD_LIBRARY(weechat_gui_common STATIC ${LIB_GUI_COMMON_SRC})
 
38
 
 
39
IF(NOT DISABLE_NCURSES)
 
40
  SUBDIRS( curses )
 
41
ENDIF(NOT DISABLE_NCURSES)
 
42
 
 
43
IF(ENABLE_GTK)
 
44
  ADD_SUBDIRECTORY( gtk )
 
45
ENDIF(ENABLE_GTK)