[cmake-developers] Canonical include pathes within ninja files
Claus Klein
claus.klein at arcormail.de
Thu Jun 7 06:15:06 EDT 2012
Hi Peter,
I would like to know your opinion about Canonical path's
While testing with ninja generator, I found same rules with non
Canonical include pathes.
a simple example from my test program:
"/tmp/some/deep/application/folder/../configuration/instance/../
instance/myfile.cfg"
"/tmp/some/deep/application/configuration/instance/myfile.cfg"
realpath -> /private/tmp/some/deep/application/configuration/instance/
myfile.cfg (which does not yet exists!)
see man realpath -- returns the canonicalized absolute pathname
http://www.kernel.org/doc/man-pages/online/pages/man3/realpath.3.html
Now the real questions:
1.) How can this done in a portable make insight cmake?
I know only boost!
2.) And should it done?
IMO yes! (It would be more clear and faster when we generate
canonical path entries.)
//Regards
Claus Klein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120607/b2f87276/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pathTricks.cpp
Type: application/octet-stream
Size: 1898 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120607/b2f87276/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120607/b2f87276/attachment-0001.html>
More information about the cmake-developers
mailing list