[cmake-developers] <TARGET> availability

Vittorio Giovara vittorio.giovara at gmail.com
Fri Mar 22 09:49:42 EDT 2013


On Fri, Mar 22, 2013 at 12:55 PM, Brad King <brad.king at kitware.com> wrote:

> On 03/22/2013 04:38 AM, Vittorio Giovara wrote:
> > difference I see is that <TARGET> in the _LINK_EXECUTABLE
> > or _CREATE_SHARED_LIBRARY gets reported as a relative path,
> > while in _COMPILE_OBJECT you get the full path.
>
> Oops, I had copied the TargetPDB path conversion which needs to
> be full path for some toolchains IIRC.  There is no reason for
> <TARGET> to be so.  Try this one instead.
>

Yes this one makes <TARGET> behave the same in COMPILE_OBJECT and
LINK_EXECUTABLE!
Vittorio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130322/3d4be87d/attachment.html>


More information about the cmake-developers mailing list