summaryrefslogtreecommitdiff
path: root/modules/ogg/SCsub
blob: 42d593f88e429883cd6e3a7957c7fafa77cacc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Import('env')
Import('env_modules')

# Thirdparty source files
if (env["libogg"] != "system"): # builtin
	thirdparty_dir = "#thirdparty/libogg/"
	thirdparty_libogg_sources = [
		"bitwise.c",
		"framing.c",
	]
	thirdparty_libogg_sources = [thirdparty_dir + file for file in thirdparty_libogg_sources]

	env_modules.add_source_files(env.modules_sources, thirdparty_libogg_sources)
	env_modules.Append(CPPPATH = [thirdparty_dir])

# Godot source files
env_modules.add_source_files(env.modules_sources, "*.cpp")

Export('env_modules')
Export('env')