summaryrefslogtreecommitdiff
path: root/modules/stb_vorbis/SCsub
blob: 266c87c802466f2cee451fa5f6b3efb5ffab0f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python

Import("env")
Import("env_modules")

env_stb_vorbis = env_modules.Clone()

# Thirdparty source files
thirdparty_sources = ["#thirdparty/misc/stb_vorbis.c"]

env_thirdparty = env_stb_vorbis.Clone()
env_thirdparty.disable_warnings()
env_thirdparty.add_source_files(env.modules_sources, thirdparty_sources)

# Godot's own source files
env_stb_vorbis.add_source_files(env.modules_sources, "*.cpp")