2018-08-21 22:56:04 -04:00
|
|
|
def can_build(env, platform):
|
2025-09-29 00:56:03 +03:00
|
|
|
return env.editor_build or env["cvtt_export_templates"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_opts(platform):
|
|
|
|
|
from SCons.Variables import BoolVariable
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
BoolVariable(
|
|
|
|
|
"cvtt_export_templates",
|
|
|
|
|
"Enable CVTT image compression in export template builds (increases binary size)",
|
|
|
|
|
False,
|
|
|
|
|
),
|
|
|
|
|
]
|
2020-03-30 08:28:32 +02:00
|
|
|
|
2018-08-21 22:56:04 -04:00
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
|
pass
|