virtualx-engine/modules
Rémi Verschelde bfea3f1d9a modules: Clone env in each module
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 da09c6131b)

Obviously removed the parts about enet and visual_script.
2016-10-30 14:51:32 +01:00
..
cscript modules: Clone env in each module 2016-10-30 14:51:32 +01:00
dds modules: Clone env in each module 2016-10-30 14:51:32 +01:00
etc1 modules: Clone env in each module 2016-10-30 14:51:32 +01:00
gdscript modules: Clone env in each module 2016-10-30 14:51:32 +01:00
gridmap modules: Clone env in each module 2016-10-30 14:51:32 +01:00
ik modules: Clone env in each module 2016-10-30 14:51:32 +01:00
jpg modules: Clone env in each module 2016-10-30 14:51:32 +01:00
ogg modules: Clone env in each module 2016-10-30 14:51:32 +01:00
openssl modules: Clone env in each module 2016-10-30 14:51:32 +01:00
opus modules: Clone env in each module 2016-10-30 14:51:32 +01:00
pbm modules: Clone env in each module 2016-10-30 14:51:32 +01:00
pvr modules: Clone env in each module 2016-10-30 14:51:32 +01:00
speex ogg/vorbis/opus/speex: Make them modules and unbundle thirdparty libs 2016-10-30 14:51:31 +01:00
vorbis modules: Clone env in each module 2016-10-30 14:51:32 +01:00
webp modules: Clone env in each module 2016-10-30 14:51:32 +01:00
register_module_types.h Add missing license headers in our source files (#5255) 2016-06-18 14:46:12 +02:00
SCsub Remove trailing spaces 2016-04-02 20:26:12 +02:00