This website requires JavaScript.
Explore
Help
Sign In
godotengine
/
godot
Watch
1
Star
0
Fork
0
You've already forked godot
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
d710b265f8
godot
/
modules
/
visual_script
/
SCsub
6 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
WIP visual scripting, not working yet but you can check out stuff
2016-08-02 22:11:05 +00:00
Import('env')
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.
2016-10-13 16:54:00 +00:00
env.add_source_files(env.modules_sources, "*.cpp")
WIP visual scripting, not working yet but you can check out stuff
2016-08-02 22:11:05 +00:00
Export('env')
Reference in New Issue
Copy Permalink