Add support for build profiles.

Allow enabling or disabling specific classes (which will not be built).
This commit is contained in:
Fabio Alessandrelli
2023-07-07 21:49:56 +02:00
parent 8cdd56e149
commit 1186c488bd
3 changed files with 132 additions and 5 deletions

View File

@@ -285,6 +285,15 @@ def options(opts, env):
)
)
opts.Add(
PathVariable(
"build_profile",
"Path to a file containing a feature build profile",
default=env.get("build_profile", None),
validator=validate_file,
)
)
opts.Add(
BoolVariable(
key="use_hot_reload",