On Thu, Jun 25, 2009 at 09:54:11PM -0500, Nathan Paul wrote:
> When I tell MessageTest to link to Messages (using target_link_libraries and
> specifying the Messages library), the Google Protocol Buffer library is
> added as a dependency. This is undesired, since the library is already
> linked statically to the Messages library, and is not directly needed by the

It's past my bedtime but I think you want to play with
LINK_INTERFACE_LIBRARIES:

http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:LINK_INTERFACE_LIBRARIES

> MessageTest executable. Also, the .lib file generated by the build does not
> get placed into Build/bin, which is what I would like. What is the best way
> to do this?

Look at ARCHIVE_OUTPUT_DIRECTORY.

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