Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a build profile with no disabled classes and pass it by default #82

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ projectdir = "demo"

localEnv = Environment(tools=["default"], PLATFORM="")

# Build profiles can be used to decrease compile times.
# The file starts out empty, add to it as needed.
# You can either specify "disabled_classes", OR
# explicitly specify "enabled_classes" which disables all other classes.
localEnv["build_profile"] = str("build_profile.json")

customs = ["custom.py"]
customs = [os.path.abspath(path) for path in customs]

Expand Down
4 changes: 4 additions & 0 deletions build_profile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "feature_profile",
"disabled_classes": []
}