Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
18 lines
399 B
Python
18 lines
399 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_minimp3 = env_modules.Clone()
|
|
|
|
thirdparty_dir = "#thirdparty/minimp3/"
|
|
|
|
env_minimp3.Prepend(CPPEXTPATH=[thirdparty_dir])
|
|
|
|
if not env["minimp3_extra_formats"]:
|
|
env_minimp3.Append(CPPDEFINES=["MINIMP3_ONLY_MP3"])
|
|
|
|
# Godot source files
|
|
env_minimp3.add_source_files(env.modules_sources, "*.cpp")
|