36 #include "HeartFileFinder.hpp" 42 std::string relative_path(rPath);
43 if (rPath.relative_to() == cp::relative_to_type::this_file)
50 switch (rPath.relative_to())
52 case cp::relative_to_type::cwd:
55 case cp::relative_to_type::chaste_test_output:
58 case cp::relative_to_type::chaste_source_root:
61 case cp::relative_to_type::chaste_build_root:
64 case cp::relative_to_type::absolute:
71 SetPath(relative_path, relative_to);
HeartFileFinder(const cp::path_type &rPath)
virtual void SetPath(const std::string &rPath, RelativeTo::Value relativeTo)
static HeartConfig * Instance()