Let's say I have two SConscript
s:
SConstruct
SConscript a
SConscript b
SConscript a
generates a pkg-config
file (for something foreign which has none). I have an alias for this (substitution, installing etc.), pkg_alias
. SConscript b
invokes env.ParseConfig(...)
and builds app
, and therefore it's important that the file already was generated (otherwise pkg-config
would complain).
So what I need is a dependency like this: app
-> parse
-> pkg_alias
.
Is it possible to express this?
Like subdir_env.Depends(subdir_env, 'pkg_alias')
when subdir_env
is the one that attempts to ParseConfig
.