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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake