0.2.0-dev Download ZIP
18 lines ·429 B Raw
| 1 | def can_build(env, platform): |
| 2 | return (env.editor_build or env["betsy_export_templates"]) and env["rendering_device"] |
| 3 | |
| 4 | |
| 5 | def get_opts(platform): |
| 6 | from SCons.Variables import BoolVariable |
| 7 | |
| 8 | return [ |
| 9 | BoolVariable( |
| 10 | "betsy_export_templates", |
| 11 | "Enable Betsy image compression in export template builds (increases binary size)", |
| 12 | False, |
| 13 | ), |
| 14 | ] |
| 15 | |
| 16 | |
| 17 | def configure(env): |
| 18 | pass |