mirror of
https://github.com/tswow/tswow
synced 2026-08-14 20:29:06 -04:00
11 lines
No EOL
256 B
C++
11 lines
No EOL
256 B
C++
#include "FSRoot.h"
|
|
|
|
#include <filesystem>
|
|
|
|
static std::filesystem::path dirname
|
|
= std::filesystem::path(__FILE__).parent_path();
|
|
|
|
std::string relProjectPath(std::string const& pathIn)
|
|
{
|
|
return std::filesystem::relative(pathIn, dirname).string();
|
|
} |