virtualx-engine/modules/etc1/SCsub
Rémi Verschelde 819ccdd340 dds/etc1/pbm/pvr: Make those modules and split thirdparty files
They are not particularly packaged in Linux distros so we do not
facilitate unbundling via SCons. There could be done if/when there
is interest.

Also s/pnm/pbm/, long-lived typo :)

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

19 lines
538 B
Text

Import('env')
Import('env_modules')
# Thirdparty source files
# Not unbundled so far since not widespread as shared library
thirdparty_dir = "#thirdparty/rg-etc1/"
thirdparty_etc1_sources = [
"rg_etc1.cpp",
]
thirdparty_etc1_sources = [thirdparty_dir + file for file in thirdparty_etc1_sources]
env_modules.add_source_files(env.modules_sources, thirdparty_etc1_sources)
env_modules.Append(CPPPATH = [thirdparty_dir])
# Godot source files
env_modules.add_source_files(env.modules_sources, "*.cpp")
Export('env_modules')
Export('env')