On Fri, Oct 23, 2009 at 03:36:10PM +0200, Mathieu Malaterre wrote:
> 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

Like any kind of software development, when you find that you are
repeating yourself, it's time to write a function/macro.

I don't know of a way to do what you want automatically.

tyler
_______________________________________________
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

Reply via email to