MayaFlux 0.2.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 259 of file ClangInterpreter.cpp.

260{
261 if (std::filesystem::exists(path)) {
262 m_impl->include_paths.push_back(path);
263 LILA_DEBUG(Emitter::INTERPRETER, std::string("Added include path: ") + path);
264 } else {
265 LILA_WARN(Emitter::INTERPRETER,
266 std::string("Include path does not exist: ") + path);
267 }
268}
#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.