bindings/python/wscript
changeset 3417 06df0787254b
parent 3412 518719e905a0
child 3420 390db659644b
equal deleted inserted replaced
3416:926ccb845111 3417:06df0787254b
   346         for module in get_modules_and_headers().iterkeys():
   346         for module in get_modules_and_headers().iterkeys():
   347             pymod.source.append("ns3_module_%s.cc" % module.replace('-', '_'))
   347             pymod.source.append("ns3_module_%s.cc" % module.replace('-', '_'))
   348         pymod.target = 'ns3/_ns3'
   348         pymod.target = 'ns3/_ns3'
   349         pymod.name = 'ns3module'
   349         pymod.name = 'ns3module'
   350         pymod.uselib_local = "ns3"
   350         pymod.uselib_local = "ns3"
       
   351         pymod.env.append_value('CXXDEFINES', ['NS_DEPRECATED=""', 'NS3_DEPRECATED_H'])
   351 
   352 
   352         # copy the __init__.py file to the build dir waf can't handle
   353         # copy the __init__.py file to the build dir waf can't handle
   353         # this, it's against waf's principles to have build dir files
   354         # this, it's against waf's principles to have build dir files
   354         # with the same name as source dir files, apparently.
   355         # with the same name as source dir files, apparently.
   355         dirnode = bld.m_curdirnode.find_dir('ns3')
   356         dirnode = bld.m_curdirnode.find_dir('ns3')