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 346 of file ClangInterpreter.cpp.

347{
348 if (std::filesystem::exists(path)) {
349 m_impl->include_paths.push_back(path);
350 LILA_DEBUG(Emitter::INTERPRETER, std::string("Added include path: ") + path);
351 } else {
352 LILA_WARN(Emitter::INTERPRETER,
353 std::string("Include path does not exist: ") + path);
354 }
355}
#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.