OpenMake Meister

getRelative()

This method gets the relative path file name. 

Example:

 

If the anchor was set to c:\work then c:\work\src\hello.cpp would return src\hello.cpp

 

By default the anchor is the current working directory.

 

 

SEE ALSO

 Openmake::Path, Openmake::SearchList, Openmake::ClassPath, Openmake::FileList and File::Spec