src/wscript
changeset 4392 25d38a0c9851
parent 4389 a1f63bb47434
child 4395 489abe44ed7e
equal deleted inserted replaced
4391:0868b79a6be4 4392:25d38a0c9851
    70     module = bld.new_task_gen('cxx')
    70     module = bld.new_task_gen('cxx')
    71     module.name = 'ns3-' + name
    71     module.name = 'ns3-' + name
    72     module.target = module.name
    72     module.target = module.name
    73     module.add_objects = ['ns3-' + dep for dep in dependencies]
    73     module.add_objects = ['ns3-' + dep for dep in dependencies]
    74     module.module_deps = list(dependencies)
    74     module.module_deps = list(dependencies)
    75     module.env.append_value('CXXFLAGS', module.env['shlib_CXXFLAGS'])
    75     if not module.env['ENABLE_STATIC_NS3']:
       
    76         module.env.append_value('CXXFLAGS', module.env['shlib_CXXFLAGS'])
    76     module.env.append_value('CXXDEFINES', "NS3_MODULE_COMPILATION")
    77     module.env.append_value('CXXDEFINES', "NS3_MODULE_COMPILATION")
    77     return module
    78     return module
    78 
    79 
    79 def create_obj(bld, *args):
    80 def create_obj(bld, *args):
    80     warnings.warn("(in %s) Use bld.new_task_gen(...) now, instead of bld.create_obj(...)" % str(bld.path),
    81     warnings.warn("(in %s) Use bld.new_task_gen(...) now, instead of bld.create_obj(...)" % str(bld.path),