2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-21 17:35:55 +01:00
This commit is contained in:
Thomas Nagy 2016-07-07 07:56:20 +02:00
parent 1b1bad8231
commit 9ede16b70a
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ def process_shpip(self, node):
class src2c(Task.Task):
color = 'PINK'
quiet = 1
ext_out = ['.h']
before = ['cstaticlib']
def run(self):
cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath())

View File

@ -615,7 +615,7 @@ def process_shpip(self, node): <1>
class src2c(Task.Task):
color = 'PINK'
quiet = True <2>
ext_out = ['.h'] <3>
before = ['cstaticlib'] <3>
def run(self):
cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath())
@ -668,7 +668,7 @@ class src2c(Task.Task):
<1> The processing will be delegated to the task
<2> Disable the warnings raised when a task has no outputs
<3> Make certain the processing will be executed before any task using _.h_ files
<3> Make certain the task will be processed before the link task is considered
<4> When the task is executed, collect the process stdout which contains the generated file names
<5> Store the output file nodes in a persistent cache
<6> Create the tasks to compile the outputs