Add env.Depends to modules_enabled.gen.h generator
Sometimes scons doesn't detects that a new module is being added. This commit fix it.
(cherry picked from commit b667e72adf
)
This commit is contained in:
parent
875045adde
commit
74e6adda57
|
@ -10,6 +10,7 @@ env_modules = env.Clone()
|
||||||
|
|
||||||
Export("env_modules")
|
Export("env_modules")
|
||||||
|
|
||||||
|
env.Depends("modules_enabled.gen.h", Value(env.module_list))
|
||||||
env.CommandNoCache("modules_enabled.gen.h", Value(env.module_list), modules_builders.generate_modules_enabled)
|
env.CommandNoCache("modules_enabled.gen.h", Value(env.module_list), modules_builders.generate_modules_enabled)
|
||||||
|
|
||||||
env.modules_sources = []
|
env.modules_sources = []
|
||||||
|
|
Loading…
Reference in New Issue