pandemonium_engine_minimal/modules/minimp3/SCsub

18 lines
454 B
Plaintext
Raw Normal View History

2023-12-14 21:54:22 +01:00
#!/usr/bin/env python
Import("env")
Import("env_modules")
env_minimp3 = env_modules.Clone()
2023-12-16 22:15:11 +01:00
thirdparty_dir = "minimp3/"
2023-12-14 21:54:22 +01:00
# Treat minimp3 headers as system headers to avoid raising warnings. Not supported on MSVC.
if not env.msvc:
env_minimp3.Append(CPPFLAGS=["-isystem", Dir(thirdparty_dir).path])
else:
env_minimp3.Prepend(CPPPATH=[thirdparty_dir])
# Pandemonium's own source files
env_minimp3.add_source_files(env.modules_sources, "*.cpp")