Revision: 1406
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1406&view=rev
Author: roman_yakovenko
Date: 2008-08-26 05:14:49 +0000 (Tue, 26 Aug 2008)
Log Message:
-----------
construct gccxml configuration even if gccxml was not found
Modified Paths:
--------------
pygccxml_dev/unittests/autoconfig.py
Modified: pygccxml_dev/unittests/autoconfig.py
===================================================================
--- pygccxml_dev/unittests/autoconfig.py 2008-08-25 18:12:09 UTC (rev 1405)
+++ pygccxml_dev/unittests/autoconfig.py 2008-08-26 05:14:49 UTC (rev 1406)
@@ -41,13 +41,16 @@
pygccxml.declarations.class_t.USE_DEMANGLED_AS_NAME = True
class cxx_parsers_cfg:
- gccxml = None
+
+ keywd = { 'working_directory' : data_directory
+ , 'define_symbols' : [ gccxml_version ]
+ , 'compiler' : compiler }
+
if os.path.exists( os.path.join( gccxml_path, 'gccxml' ) ) \
or os.path.exists( os.path.join( gccxml_path, 'gccxml.exe' ) ):
- gccxml = pygccxml.parser.gccxml_configuration_t( gccxml_path=gccxml_path
- , working_directory=data_directory
- , define_symbols=[ gccxml_version ]
- , compiler=compiler )
+ keywd[ 'gccxml_path'] = gccxml_path
+ gccxml = pygccxml.parser.gccxml_configuration_t( **keywd )
+
pdb_loader = None
if sys.platform == 'win32':
from pygccxml.msvc import pdb
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|