[CMake] Cmake link trouble in Windows
Bill Hoffman
bill.hoffman at kitware.com
Tue Oct 23 11:05:17 EDT 2012
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.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
More information about the CMake
mailing list