MayaFlux 0.1.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 230 of file ClangInterpreter.cpp.

231{
232 if (std::filesystem::exists(path)) {
233 m_impl->include_paths.push_back(path);
234 LILA_DEBUG(Emitter::INTERPRETER, std::string("Added include path: ") + path);
235 } else {
236 LILA_WARN(Emitter::INTERPRETER,
237 std::string("Include path does not exist: ") + path);
238 }
239}
#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.