CPGen
C++ project generator
Loading...
Searching...
No Matches
Namespaces | Functions
PathResolver.cpp File Reference

Implements the template directory resolution helpers. More...

#include "CPGen/System/PathResolver.hpp"
#include <cstddef>
#include <stdexcept>
#include <string>
#include <unistd.h>
#include <vector>
Include dependency graph for PathResolver.cpp:

Namespaces

namespace  PathResolver
 

Functions

std::filesystem::path PathResolver::executablePath ()
 Resolve the absolute path of the running executable.
 
std::vector< std::filesystem::path > PathResolver::resolveTemplatePaths ()
 Build the ordered list of template search directories.
 
std::filesystem::path PathResolver::findTemplatesRoot ()
 Return the first existing template root directory.
 

Detailed Description

Implements the template directory resolution helpers.

Author
Darleanow