diff --git a/SConstruct b/SConstruct index 07ce1c2..d106d27 100644 --- a/SConstruct +++ b/SConstruct @@ -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] diff --git a/build_profile.json b/build_profile.json new file mode 100644 index 0000000..d172f52 --- /dev/null +++ b/build_profile.json @@ -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" + ] +}