[CMake] import library

Leon Aronson (DT) leon at holmes.nl
Fri Jun 12 09:38:29 EDT 2009


Hi,

I've attached the root file and the file for the executable.

Thanks,

Leon
 

>-----Original Message-----
>From: Bill Hoffman [mailto:bill.hoffman at kitware.com] 
>Sent: Friday, June 12, 2009 3:27 PM
>To: Leon Aronson (DT)
>Cc: cmake at cmake.org
>Subject: Re: [CMake] import library
>
>Leon Aronson (DT) wrote:
>> Hi
>> 
>> I have moved a Visual C++ 2008 solution to cmake. 
>> Before the move, there was no import library in the linker/advanced 
>> setting.
>> 
>> However, CMake generates the setting like this:
>> Import Library = C:\mecan\mecan_build\MeCan\Release\mecan.lib
>> 
>> When building the solution, VC++ complains that it can't 
>find mecan.lib.
>> Which is correct, because it isn't in the place mentioned above.
>> 
>> My question is:
>> how can I convince Cmake to either
>> - not set an Import Library at all, or
>> - set it to the right value?
>> 
>What did the CMake file look like that caused the problem?
>
>
>-Bill
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090612/f04a4d3d/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090612/f04a4d3d/attachment-0001.txt>


More information about the CMake mailing list