bindings: Updates corresponding to project use of CastXML

This commit is contained in:
Tom Henderson
2017-09-18 13:46:16 -07:00
parent b14635b699
commit e0f6baf998
4 changed files with 69 additions and 33 deletions

View File

@@ -259,7 +259,6 @@ def ns3_module_scan(top_builddir, module_name, headers_map, output_file_name, cf
module_parser.parse_init([scan_header],
None, whitelist_paths=[top_builddir],
#includes=['"ns3/everything.h"'],
pygen_sink=output_sink,
castxml_options=castxml_options)
module_parser.scan_types()

View File

@@ -52,7 +52,7 @@ def options(opt):
dest='python_disable')
opt.add_option('--apiscan',
help=("Rescan the API for the indicated module(s), for Python bindings. "
"Needs working GCCXML / pygccxml environment. "
"Needs working CastXML / pygccxml environment. "
"The metamodule 'all' expands to all available ns-3 modules."),
default=None, dest='apiscan', metavar="MODULE[,MODULE...]")
opt.add_option('--with-pybindgen',