~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Bazaar Package Importer
  • Author(s): Damián Viano
  • Date: 2010-02-23 16:33:33 UTC
  • mfrom: (1.1.12 upstream) (3.3.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100223163333-8500xsrwaf7rg6op
Tags: 0.18.1-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
# WAF build script - this file is part of Geany, a fast and lightweight IDE
5
5
#
6
 
# Copyright 2008-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
7
 
# Copyright 2008-2009 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
 
6
# Copyright 2008-2010 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
 
7
# Copyright 2008-2010 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
8
8
#
9
9
# This program is free software; you can redistribute it and/or modify
10
10
# it under the terms of the GNU General Public License as published by
20
20
# along with this program; if not, write to the Free Software
21
21
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
22
#
23
 
# $Id: wscript 4079 2009-08-13 21:59:33Z eht16 $
 
23
# $Id: wscript 4664 2010-02-14 10:41:44Z eht16 $
24
24
 
25
25
"""
26
26
This is a WAF build script (http://code.google.com/p/waf/).
35
35
Known issues: Dependency handling is buggy, e.g. if src/document.h is
36
36
                          changed, depending source files are not rebuilt (maybe Waf bug).
37
37
 
38
 
The code of this file itself loosely follows PEP 8 with some exceptions 
 
38
The code of this file itself loosely follows PEP 8 with some exceptions
39
39
(line width 100 characters and some other minor things).
40
40
 
41
41
Requires WAF 1.5.7 and Python 2.4 (or later).
54
54
 
55
55
 
56
56
APPNAME = 'geany'
57
 
VERSION = '0.18'
 
57
VERSION = '0.18.1'
58
58
 
59
59
srcdir = '.'
60
60
blddir = '_build_'
273
273
 
274
274
        conf.env.append_value('CCFLAGS', '-DHAVE_CONFIG_H')
275
275
        # Scintilla flags
276
 
        conf.env.append_value('CXXFLAGS', 
 
276
        conf.env.append_value('CXXFLAGS',
277
277
                '-DNDEBUG -DGTK -DGTK2 -DSCI_LEXER -DG_THREADS_IMPL_NONE'.split())
278
278
 
279
279
 
287
287
                opt.add_option('--disable-plugins', action='store_true', default=False,
288
288
                        help='compile without plugin support [default: No]', dest='no_plugins')
289
289
                opt.add_option('--disable-socket', action='store_true', default=False,
290
 
                        help='compile without support to detect a running instance [[default: No]', 
 
290
                        help='compile without support to detect a running instance [[default: No]',
291
291
                        dest='no_socket')
292
292
                opt.add_option('--disable-vte', action='store_true', default=target_is_win32(os.environ),
293
 
                        help='compile without support for an embedded virtual terminal [[default: No]', 
 
293
                        help='compile without support for an embedded virtual terminal [[default: No]',
294
294
                        dest='no_vte')
295
295
                opt.add_option('--enable-gnu-regex', action='store_true', default=False,
296
296
                        help='compile with included GNU regex library [default: No]', dest='gnu_regex')