5a49e45d21
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
22 lines
522 B
Python
22 lines
522 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
Import('env_modules')
|
|
|
|
env_ogg = env_modules.Clone()
|
|
|
|
# Thirdparty source files
|
|
if (env["libogg"] != "system"): # builtin
|
|
thirdparty_dir = "#thirdparty/libogg/"
|
|
thirdparty_sources = [
|
|
"bitwise.c",
|
|
"framing.c",
|
|
]
|
|
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
|
|
|
|
env_ogg.add_source_files(env.modules_sources, thirdparty_sources)
|
|
env_ogg.Append(CPPPATH = [thirdparty_dir])
|
|
|
|
# Godot source files
|
|
env_ogg.add_source_files(env.modules_sources, "*.cpp")
|