mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
24 lines
625 B
Plaintext
24 lines
625 B
Plaintext
|
Import('env')
|
||
|
Import('env_modules')
|
||
|
|
||
|
# Thirdparty source files
|
||
|
# Not unbundled so far since not widespread as shared library
|
||
|
thirdparty_dir = "#thirdparty/pvrtccompressor/"
|
||
|
thirdparty_pvr_sources = [
|
||
|
"BitScale.cpp",
|
||
|
"MortonTable.cpp",
|
||
|
"PvrTcDecoder.cpp",
|
||
|
"PvrTcEncoder.cpp",
|
||
|
"PvrTcPacket.cpp",
|
||
|
]
|
||
|
thirdparty_pvr_sources = [thirdparty_dir + file for file in thirdparty_pvr_sources]
|
||
|
|
||
|
env_modules.add_source_files(env.modules_sources, thirdparty_pvr_sources)
|
||
|
env_modules.Append(CPPPATH = [thirdparty_dir])
|
||
|
|
||
|
# Godot source files
|
||
|
env_modules.add_source_files(env.modules_sources, "*.cpp")
|
||
|
|
||
|
Export('env_modules')
|
||
|
Export('env')
|