bfea3f1d9a
This allows to pass include paths and flags only to a given thirdparty
library, thus preventing conflicts between their files (e.g. between
opus and openssl which both provide modes.h.
This also has the nice effect of making the compilation command smaller
for each module as it no longer related to all other modules, only the
final linking brings them together.
This however requires adding manually the ogg include path in opus
and vorbis when building against the builtin ogg, since it is no longer
in the global env.
Also simplified template 'thirdparty_<module>_sources' to
'thirdparty_sources'.
"Core" modules like cscript, gdscript, gridmap, ik and virtual_script
still use the main env_modules, but it could be changed if need be.
(cherry picked from commit
|
||
---|---|---|
.. | ||
config.py | ||
gd_compiler.cpp | ||
gd_compiler.h | ||
gd_editor.cpp | ||
gd_function.cpp | ||
gd_function.h | ||
gd_functions.cpp | ||
gd_functions.h | ||
gd_parser.cpp | ||
gd_parser.h | ||
gd_script.cpp | ||
gd_script.h | ||
gd_tokenizer.cpp | ||
gd_tokenizer.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub |