[libcxx][PATCH] Fix for CMakelists.txt

G M gmisocpp at gmail.com
Mon Apr 1 02:49:04 PDT 2013


It does work as long as the destination directory already exists.
But I am thinking it might not work if a file (as opposed to a
directory) is being copied and the destination directory doesn't exist,
then I am concerned that what might happen is that cmake is going to copy
the file and give it the name of the intended directory rather than create
that directory and copy the file into it.
I'm no cmake expert, so if anyone agrees who is, could they suggest a fix
that would prevent that.

The include directory does already exist in the use case presented so it
works for that,but other sub-directories might not exist and in those
circumstances it seems it might fail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130401/72c78e6c/attachment.html>


More information about the cfe-commits mailing list