On Tue, Jul 20, 2010 at 5:24 PM, Claus Klein <claus.kl...@arcormail.de> wrote:
> I have a cpp project with some lib targets and executables, which depends on
> the libs and the header files.
> I want to link the libs from my build/src tree and not the installed
> versions.
>
> With this snip below from my CMakeFile.txt it works on my MacBook and cygwin
> after a make clean,
> but with MVS2005, it will always try to link the desD.lib and not the
> desD.dll?
>
This is correct. It should be linking the .lib and not the .dll. The
.lib is an import library which is needed to use the .dll

John



-- 
John M. Drescher
_______________________________________________
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