|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_HOST_API Result< std::filesystem::path > MayaFlux::Host::add_include_root | ( | const std::filesystem::path & | directory, |
| std::string_view | marker_file = {} ) |
Add a directory to the JIT include search path.
The directory is checked at call time and only that directory is looked at. Include paths cannot change a session that has started, so after start_session this is refused.
| directory | Directory to add, absolute or relative to the working directory. |
| marker_file | Plain file name that must exist inside directory, or empty for none. |
Definition at line 30 of file Dependencies.cpp.
References MayaFlux::Platform::acquire_header_root(), MayaFlux::Host::detail::apply_or_stage(), MayaFlux::Host::detail::IncludePath, and MayaFlux::Host::detail::to_failure().