diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-10-23 22:28:21 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-10-24 22:22:58 +0300 |
commit | a3c2c1e18a3b1ebcd06aabd71e98c53fd0e5e998 (patch) | |
tree | 18b3556141dd06e4ca2f010fc1c613606161d379 /thirdparty/tinyexr | |
parent | b67ccf1a6f326c5d4d5fa1cc7cd15eff3573f8f7 (diff) |
SCons: Add an option to detect C++ modules recursively
This adds `custom_modules_recursive` which allows to detect and collect
all nested C++ modules which may reside in any directory specified by
`custom_modules` option.
The detection logic is made to be more strict because `SCSub` may be
used for organizing hierarchical builds within a module itself, so the
existence of `register_types.h` and `config.py` is checked as well
(these are all required for a C++ module to be compiled by Godot).
For performance reasons, built-in modules are not checked recursively,
and there's no benefit of doing so in the first place.
It's now possible to specify a directory path pointing to a *single*
module, as it may contain nested modules which are detected recursively.
Diffstat (limited to 'thirdparty/tinyexr')
0 files changed, 0 insertions, 0 deletions