config.py 396 B

123456789101112131415161718
  1. def can_build(env, platform):
  2. return env.editor_build or env["cvtt_export_templates"]
  3. def get_opts(platform):
  4. from SCons.Variables import BoolVariable
  5. return [
  6. BoolVariable(
  7. "cvtt_export_templates",
  8. "Enable CVTT image compression in export template builds (increases binary size)",
  9. False,
  10. ),
  11. ]
  12. def configure(env):
  13. pass