On 12/9/2010 5:26 AM, Gabriel Petrovay wrote:
Thanks Bill for the trick.

Unfortunately this works only for exe targets.
It doesn't work for dll's. Moreover, before the link command there is
this output: "Visual Studio Non-Incremental Link"

If it says that then the /INCREMENTAL flag is not being used. You have to set the CMAKE_SHARED_LINKER_FLAGS_DEBUG flag for this to work with dlls, may also want to set this one: CMAKE_MODULE_LINKER_FLAGS_DEBUG.


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