summaryrefslogtreecommitdiff
path: root/modules/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-05 13:19:45 +0200
committerGitHub <noreply@github.com>2021-05-05 13:19:45 +0200
commit11931d06aebe7d06e7e10a1b192156e4f6c2e479 (patch)
tree32f5d82a5b933d84c35ef613e17e76e885bd8c07 /modules/SCsub
parentcb84d3313781b06d221d24a5aa4be13463e3bb0c (diff)
parentb667e72adf372321775a45b56114b74d5d6da2a5 (diff)
Merge pull request #48476 from AndreaCatania/AndreaCatania-patch-4
Add env.Depends to modules_enabled.gen.h generator
Diffstat (limited to 'modules/SCsub')
-rw-r--r--modules/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/SCsub b/modules/SCsub
index 64da3bd0be..5ff4623743 100644
--- a/modules/SCsub
+++ b/modules/SCsub
@@ -10,6 +10,7 @@ env_modules = env.Clone()
Export("env_modules")
# Header with MODULE_*_ENABLED defines.
+env.Depends("modules_enabled.gen.h", Value(env.module_list))
env.CommandNoCache(
"modules_enabled.gen.h",
Value(env.module_list),
@@ -23,6 +24,7 @@ env.CommandNoCache(
# Header to be included in `tests/test_main.cpp` to run module-specific tests.
if env["tests"]:
+ env.Depends("modules_tests.gen.h", Value(env.module_list))
env.CommandNoCache(
"modules_tests.gen.h",
Value(env.module_list),