godot/modules/betsy/config.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
399 B
Python
Raw Normal View History

2024-01-04 16:33:20 +01:00
def can_build(env, platform):
return env.editor_build or env["betsy_export_templates"]
def get_opts(platform):
from SCons.Variables import BoolVariable
return [
BoolVariable(
"betsy_export_templates",
"Enable Betsy image compression in export template builds (increases binary size)",
False,
),
]
2024-01-04 16:33:20 +01:00
def configure(env):
pass