[cmake-developers] <TARGET> availability

Vittorio Giovara vittorio.giovara at gmail.com
Fri Mar 22 04:38:44 EDT 2013


On Thu, Mar 21, 2013 at 7:46 PM, Brad King <brad.king at kitware.com> wrote:

> On 03/21/2013 08:11 AM, Vittorio Giovara wrote:
> > similar procedure as found in cmMakefileExectuableTargetGenerator.
>
> The logic to compute the actual target file location is more
> complicated in order to support OS X frameworks and app bundles.
> Also there are target types that have no final target path, like
> OBJECT_LIBRARY.
>
> Try the attached patch instead.
>
> -Brad
>

Your patch works, the only 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. Tried on Unix
Makefiles.
Thanks,
Vittorio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130322/9115444c/attachment.html>


More information about the cmake-developers mailing list