summaryrefslogtreecommitdiff
path: root/modules/stb_vorbis/SCsub
blob: d14939a3b1a762ce85ae93f1bfd93c6e48f7a860 (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")