1 Star 0 Fork 0

pku-min-java/ndnSIM

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wscript 638 Bytes
一键复制 编辑 原始数据 按行查看 历史
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
from waflib import Utils, Logs
def build(bld):
# This may be necessary for visualizer to work
all_modules = [mod[len("ns3-"):] for mod in bld.env['NS3_ENABLED_MODULES']]
examples = bld.path.ant_glob(['*.cpp'], excl=['*-mpi.cpp'])
if 'NS3_MPI' in bld.env['DEFINES_MPI']:
examples += bld.path.ant_glob(['*-mpi.cpp'])
for i in examples:
name = i.change_ext('').path_from(bld.path.get_bld())
obj = bld.create_ns3_program(name, all_modules)
obj.source = [i] + bld.path.ant_glob(['%s/**/*.cpp' % name])
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/pku-min-java/ndnSIM.git
git@gitee.com:pku-min-java/ndnSIM.git
pku-min-java
ndnSIM
ndnSIM
master

搜索帮助