[CMake] Global property for LINK_INTERFACE_LIBRARIES (was Re: set_property(TARGET bla PROPERTY LINK_INTERFACE_LIBRARIES ""))

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Oct 23 09:36:10 EDT 2009


Sorry for the noise, but I'd would like a confirmation. Is there a way
for me (as global property) to say: I always want an empty interface
for all my shared lib. I'd like avoiding repeating

add_library(bla SHARED ${bla_SRCS})
target_link_libraries(bla foo) # foo is shared
set_property(TARGET bla PROPERTY LINK_INTERFACE_LIBRARIES "") # cumbersome

Thanks again.

On Wed, Jul 29, 2009 at 6:33 PM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> Hi there,
>
>  Just a quick question, let say I am working on a very large project
> with multiple libraries, is there a way to say that the default
> property of for all generated shared library is "" (empty string) ?
>
> Thanks
> --
> Mathieu
>



-- 
Mathieu


More information about the CMake mailing list