[CMake] Xcode generator linker flags

Michael Wild themiwi at gmail.com
Sun May 23 08:59:00 EDT 2010


On Wed, Apr 14, 2010 at 10:42 AM, Michael Wild <themiwi at gmail.com> wrote:

>
> On 14. Jan, 2010, at 16:46 , Michael Wild wrote:
>
> >
> > On 14. Jan, 2010, at 16:18 , Michael Wild wrote:
> >
> >> Hi all
> >>
> >> I think that the Xcode generate is buggy as the linker flags are not
> inherited from the compile flags as they do in the Unix Makefile generator.
> Is this known/fixed/intentional or should I report a bug?
> >>
> >> Michael
> >
> > Setting CMAKE_{SHARED,EXE,MODULE}_LINKER_FLAGS explicitly works but it
> seems that there is another bug, preventing custom configurations to work
> with shared libraries. The flags of CMAKE_EXE_LINKER_FLAGS_CUSTOM get
> applied to the executable when using configuration Custom, but
> CMAKE_SHARED_LINKER_FLAGS_CUSTOM are ignored for the shared libraries.
> >
> > Michael
>
>
> Actually, it's worse: http://cmake.org/Bug/view.php?id=10552
>
> The Xcode generator does not inherit any compile-flags for the linker-flags
> and completely ignores configuration-specific linker flags for shared
> libraries (CMAKE_SHARED_LINKER_FLAGS_<CONFIG>).
>
> Michael


Bump
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100523/e2aa1935/attachment.htm>


More information about the CMake mailing list