[CMake] problem porting to VC++: LINK : fatal error LNK1104: cannot open file 'Exc.lib'

William A. Hoffman billlist at nycap.rr.com
Thu Sep 14 15:10:16 EDT 2006


At 02:49 PM 9/14/2006, Wojciech Jarosz wrote:


>Thanks for the tip. I figured it had to do with my ignorance of how dlls work 
>on Windows.
>
>Is there a way to automate this process within the CMake framework? Meaning, 
>I'd like everything to be exported on Windows so that it matches the behavior 
>of Unix, but without having to modify the source or maintain a separate file 
>listing the exports.
Not really...  There is this:

http://public.kitware.com/pipermail/cmake/2003-October/004444.html

But at the end of the day you may want to suck it up and create the .h files with
the declspec stuff.

-Bill



More information about the CMake mailing list