MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ add_include_path()

void Lila::ClangInterpreter::add_include_path ( const std::string &  path)

Adds an include path for code evaluation.

Parameters
pathDirectory to add to the include search path

Definition at line 328 of file ClangInterpreter.cpp.

329{
330 if (std::filesystem::exists(path)) {
331 m_impl->include_paths.push_back(path);
332 LILA_DEBUG(Emitter::INTERPRETER, std::string("Added include path: ") + path);
333 } else {
334 LILA_WARN(Emitter::INTERPRETER,
335 std::string("Include path does not exist: ") + path);
336 }
337}
#define LILA_WARN(emitter, msg)
#define LILA_DEBUG(emitter, msg)
std::unique_ptr< Impl > m_impl
Internal implementation details.

References LILA_DEBUG, LILA_WARN, and m_impl.