mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-06-01 10:05:31 +00:00
17 lines
435 B
C++
17 lines
435 B
C++
#include "TessesFramework/TessesFramework.hpp"
|
|
#include <iostream>
|
|
|
|
using namespace Tesses::Framework::Filesystem;
|
|
|
|
int main(int argc, char **argv) {
|
|
if (argc < 3) {
|
|
std::cout << "USAGE: " << argv[0] << " <parent> <subpath>\n";
|
|
return 1;
|
|
}
|
|
|
|
VFSPath parent(argv[1]);
|
|
VFSPath subpath(argv[2]);
|
|
VFSPath newPath(parent, subpath.CollapseRelativeParents());
|
|
|
|
std::cout << newPath.ToString() << "\n";
|
|
} |