mirror of
https://github.com/godotengine/godot-cpp-template.git
synced 2025-12-31 21:48:10 +03:00
Add an example for using a build profile
This commit is contained in:
@@ -10,6 +10,14 @@ projectdir = "demo"
|
||||
|
||||
localEnv = Environment(tools=["default"], PLATFORM="")
|
||||
|
||||
# Build profiles can be used to decrease compile times.
|
||||
# You can either specify "disabled_classes", OR
|
||||
# explicitly specify "enabled_classes" which disables all other classes.
|
||||
# Modify the example file as needed and uncomment the line below or
|
||||
# manually specify the build_profile parameter when running SCons.
|
||||
|
||||
# localEnv["build_profile"] = "build_profile.json"
|
||||
|
||||
customs = ["custom.py"]
|
||||
customs = [os.path.abspath(path) for path in customs]
|
||||
|
||||
|
||||
9
build_profile.json
Normal file
9
build_profile.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"_": "This is an example build profile and not used by default. See the SConstruct file for more information.",
|
||||
"type": "feature_profile",
|
||||
"enabled_classes": [
|
||||
"Node3D",
|
||||
"ImageTexture",
|
||||
"OS"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user