This patch adds 'depends' keyword to compiler.preprocess(). It allows to execute other targets before doing the preprocessing. Test-case is added to demonstrate that functionality: it generates the header before preprocessing the C source that uses that generated header. Thanks to @bruchar1 for getting this patch to work.pull/12750/head
parent
1ca2c74d16
commit
92f638e1f9
8 changed files with 48 additions and 8 deletions
@ -0,0 +1,5 @@ |
||||
## `depends` kwarg now supported by compiler.preprocess() |
||||
|
||||
It is now possible to specify the dependent targets with `depends:` |
||||
for compiler.preprocess(). These targets should be built before the |
||||
preprocessing starts. |
Loading…
Reference in new issue