On 10/23/2012 10:55 AM, Vyacheslav Karamov wrote:

1. I don't understand what did you mean, but I guess
you want to create library test
CMake will link to the right thing. The trick is symbols are not exported by default on windows. So, if you do not change your code, no symbols are exported, and the .lib is not created.

See this:

http://www.cmake.org/Wiki/BuildingWinDLL

--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

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