SF.net SVN: geany: [2695] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Jun 15 17:55:22 UTC 2008
Revision: 2695
http://geany.svn.sourceforge.net/geany/?rev=2695&view=rev
Author: eht16
Date: 2008-06-15 10:55:19 -0700 (Sun, 15 Jun 2008)
Log Message:
-----------
Add compiler flags to supress Scintilla warnings.
Fix old usage of build.env.
Make configure-only options only available when actually configure is used.
Modified Paths:
--------------
trunk/ChangeLog
trunk/wscript
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-06-15 17:50:07 UTC (rev 2694)
+++ trunk/ChangeLog 2008-06-15 17:55:19 UTC (rev 2695)
@@ -3,6 +3,11 @@
* tagmanager/python.c:
Fix a regression introduced in latest bug fixes and fix some
indentation and comments.
+ * wscript:
+ Add compiler flags to supress Scintilla warnings.
+ Fix old usage of build.env.
+ Make configure-only options only available when actually configure
+ is used.
2008-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/wscript
===================================================================
--- trunk/wscript 2008-06-15 17:50:07 UTC (rev 2694)
+++ trunk/wscript 2008-06-15 17:55:19 UTC (rev 2695)
@@ -219,7 +219,8 @@
conf.env.append_value('CCFLAGS', '-g -DGEANY_DEBUG')
conf.env.append_value('CCFLAGS', '-DHAVE_CONFIG_H')
- conf.env.append_value('CXXFLAGS', '-DNDEBUG -Os -DGTK -DGTK2 -DSCI_LEXER -DG_THREADS_IMPL_NONE')
+ conf.env.append_value('CXXFLAGS', '-DNDEBUG -Os -DGTK -DGTK2 -DSCI_LEXER -DG_THREADS_IMPL_NONE \
+ -Wno-missing-braces -Wno-char-subscripts') # Scintilla flags
def set_options(opt):
@@ -227,22 +228,23 @@
opt.tool_options('compiler_cxx')
opt.tool_options('intltool')
- # Features
- opt.add_option('--disable-plugins', action='store_true', default=False,
- help='compile without plugin support [default: No]', dest='no_plugins')
- opt.add_option('--disable-socket', action='store_true', default=False,
- help='compile without support to detect a running instance [[default: No]', dest='no_socket')
- opt.add_option('--disable-vte', action='store_true', default=False,
- help='compile without support for an embedded virtual terminal [[default: No]', dest='no_vte')
- opt.add_option('--enable-gnu-regex', action='store_true', default=False,
- help='compile with included GNU regex library [default: No]', dest='gnu_regex')
- # Paths
- opt.add_option('--mandir', type='string', default='',
- help='man documentation', dest='mandir')
- opt.add_option('--docdir', type='string', default='',
- help='documentation root', dest='docdir')
- opt.add_option('--libdir', type='string', default='',
- help='object code libraries', dest='libdir')
+ if 'configure' in sys.argv:
+ # Features
+ opt.add_option('--disable-plugins', action='store_true', default=False,
+ help='compile without plugin support [default: No]', dest='no_plugins')
+ opt.add_option('--disable-socket', action='store_true', default=False,
+ help='compile without support to detect a running instance [[default: No]', dest='no_socket')
+ opt.add_option('--disable-vte', action='store_true', default=False,
+ help='compile without support for an embedded virtual terminal [[default: No]', dest='no_vte')
+ opt.add_option('--enable-gnu-regex', action='store_true', default=False,
+ help='compile with included GNU regex library [default: No]', dest='gnu_regex')
+ # Paths
+ opt.add_option('--mandir', type='string', default='',
+ help='man documentation', dest='mandir')
+ opt.add_option('--docdir', type='string', default='',
+ help='documentation root', dest='docdir')
+ opt.add_option('--libdir', type='string', default='',
+ help='object code libraries', dest='libdir')
# Actions
opt.add_option('--htmldoc', action='store_true', default=False,
help='generate HTML documentation', dest='htmldoc')
@@ -408,7 +410,7 @@
if Params.g_options.apidoc:
doxyfile = os.path.join(Params.g_build.m_srcnode.abspath( \
- Params.g_build.env()), 'doc', 'Doxyfile')
+ Params.g_build.env), 'doc', 'Doxyfile')
os.chdir('doc')
launch('doxygen ' + doxyfile, 'Generating API reference documentation')
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list