62 rootcling -f NAMEDict.cxx -rml libNAME.so -rmf libNAME.rootmap myHeader1.h myHeader2.h ... LinkDef.h 64 use = waflib.Utils.to_list(use) + [
'ROOTSYS']
65 includes = waflib.Utils.to_list(includes)
67 more = bld.env[
'INCLUDES_'+u]
74 if inc.startswith(
'/'):
77 newinc =
'-I%s' % bld.path.find_dir(inc).abspath()
78 if not newinc
in incs:
83 dict_src = name +
'Dict.cxx' 87 dict_lib =
'lib' + name +
'.so' 88 dict_map =
'lib' + name +
'.rootmap' 89 dict_pcm = name +
'Dict_rdict.pcm' 92 linkdef = bld.path.find_resource(linkdef)
93 source_nodes = headers + [linkdef]
94 sources =
' '.
join([x.abspath()
for x
in source_nodes])
95 rule =
'${ROOTCLING} -f ${TGT[0].abspath()} -rml %s -rmf ${TGT[1].abspath()} %s %s' % (dict_lib, incs, sources)
97 bld(source = source_nodes,
98 target = [dict_src, dict_map, dict_pcm],
106 bld.install_files(
'${PREFIX}/lib/', dict_map)
107 bld.install_files(
'${PREFIX}/lib/', dict_pcm)
Proc * join(Pipeline &pipeline, Proc *src, Proc *dst)
def gen_rootcling_dict(bld, name, linkdef, headers='', includes='', use='')