diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-07-07 21:49:56 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2024-06-15 16:19:41 +0200 |
commit | 1186c488bd7fbfc167e33b2df258b2404abe2717 (patch) | |
tree | be73548b3522909b8a3972da65f16e80b402c494 /tools | |
parent | 8cdd56e149f98919fcf48c45377c08637c822e81 (diff) | |
download | redot-cpp-1186c488bd7fbfc167e33b2df258b2404abe2717.tar.gz |
Add support for build profiles.
Allow enabling or disabling specific classes (which will not be built).
Diffstat (limited to 'tools')
-rw-r--r-- | tools/godotcpp.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/godotcpp.py b/tools/godotcpp.py index d5285dc..c4165c9 100644 --- a/tools/godotcpp.py +++ b/tools/godotcpp.py @@ -286,6 +286,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", help="Enable the extra accounting required to support hot reload.", |