godot/modules/minimp3/config.py
Ithamar R. Adema 36ff0591f2 Add build option for MP1/MP2 audio format support.
Enabling this adds 3.5k to the template size (Win/64bits).

Co-authored-by: Riteo <riteo@posteo.net>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-09-30 21:46:59 +02:00

25 lines
417 B
Python

def can_build(env, platform):
return True
def get_opts(platform):
from SCons.Variables import BoolVariable
return [
BoolVariable("minimp3_extra_formats", "Build minimp3 with MP1/MP2 decoding support", False),
]
def configure(env):
pass
def get_doc_classes():
return [
"AudioStreamMP3",
"ResourceImporterMP3",
]
def get_doc_path():
return "doc_classes"