Titus von Boxberg skrev 2012-10-16 13:20:
Actually, "target_link_libraries(C B)" puts B into the
Additional Dependencies of the VC project generated for C.

Unfortunately that doesn't cut it. target_link_libraries adds the build dependency, but 
it does not list the lib files in "Additional Dependecies", which I think shuld 
be default behavior with static libraries (just as it does for a shared library).

I'll file a bug report for this. My whole aim is to be able to create a single 
static library file that contains everything it needs, so that an executable 
linking statically won't have to bother. Using a shared library is an option, 
but we'd like to be able to offer customers both dynamic and static linking 
options.

Regards
/Rob
--

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