mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Docs - #1766
This commit is contained in:
parent
1b1bad8231
commit
9ede16b70a
@ -14,7 +14,7 @@ def process_shpip(self, node):
|
|||||||
class src2c(Task.Task):
|
class src2c(Task.Task):
|
||||||
color = 'PINK'
|
color = 'PINK'
|
||||||
quiet = 1
|
quiet = 1
|
||||||
ext_out = ['.h']
|
before = ['cstaticlib']
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath())
|
cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath())
|
||||||
|
@ -615,7 +615,7 @@ def process_shpip(self, node): <1>
|
|||||||
class src2c(Task.Task):
|
class src2c(Task.Task):
|
||||||
color = 'PINK'
|
color = 'PINK'
|
||||||
quiet = True <2>
|
quiet = True <2>
|
||||||
ext_out = ['.h'] <3>
|
before = ['cstaticlib'] <3>
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
cmd = '%s %s' % (self.env.COMP, self.inputs[0].abspath())
|
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
|
<1> The processing will be delegated to the task
|
||||||
<2> Disable the warnings raised when a task has no outputs
|
<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
|
<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
|
<5> Store the output file nodes in a persistent cache
|
||||||
<6> Create the tasks to compile the outputs
|
<6> Create the tasks to compile the outputs
|
||||||
|
Loading…
Reference in New Issue
Block a user