build: (fixes #15) Fix build erroneous order constraint warnings

Patch based on original suggestion from ita1024 on updated constraints
This commit is contained in:
Tom Henderson
2019-04-21 11:52:53 -07:00
parent b823749325
commit 5396fc911e
4 changed files with 9 additions and 70 deletions

View File

@@ -354,8 +354,8 @@ def get_module_path(bld, module):
class apiscan_task(Task.Task):
"""Uses castxml to scan the file 'everything.h' and extract API definitions.
"""
after = 'gen_ns3_module_header ns3header'
before = 'cxx command'
before = ['cxxprogram', 'cxxshlib', 'cxxstlib', 'command']
after = ['gen_ns3_module_header', 'ns3header']
color = "BLUE"
def __init__(self, curdirnode, env, bld, target, cflags, module):
self.bld = bld
@@ -460,7 +460,7 @@ def get_modules_and_headers(bld):
class gen_ns3_compat_pymod_task(Task.Task):
"""Generates a 'ns3.py' compatibility module."""
before = 'cxx'
before = ['cxxprogram', 'cxxshlib', 'cxxstlib']
color = 'BLUE'
def run(self):