MayaFlux 0.3.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 312 of file ClangInterpreter.cpp.

313{
314 if (std::filesystem::exists(path)) {
315 m_impl->include_paths.push_back(path);
316 LILA_DEBUG(Emitter::INTERPRETER, std::string("Added include path: ") + path);
317 } else {
318 LILA_WARN(Emitter::INTERPRETER,
319 std::string("Include path does not exist: ") + path);
320 }
321}
#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.