godot/modules/mpc/SCsub
Rémi Verschelde 5a49e45d21 SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.

(cherry picked from commit fc8ccd5b8c)
2016-10-30 14:51:34 +01:00

29 lines
644 B
Python

#!/usr/bin/env python
Import('env')
Import('env_modules')
env_mpc = env_modules.Clone()
# Thirdparty source files
if (env["libmpcdec"] != "system"): # builtin
thirdparty_dir = "#thirdparty/libmpcdec/"
thirdparty_sources = [
"huffman.c",
"mpc_bits_reader.c",
"mpc_decoder.c",
"mpc_demux.c",
"mpc_reader.c",
"requant.c",
"streaminfo.c",
"synth_filter.c",
]
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
env_mpc.add_source_files(env.modules_sources, thirdparty_sources)
env_mpc.Append(CPPPATH = [thirdparty_dir])
# Godot source files
env_mpc.add_source_files(env.modules_sources, "*.cpp")