[CMake] import library
Leon Aronson (DT)
leon at holmes.nl
Fri Jun 12 11:46:39 EDT 2009
Hi,
Thanks for your response.
I'm not generating dll's (at least I intend to); it should
all be static linking.
Leon
>-----Original Message-----
>From: Tyler Roscoe [mailto:tyler at cryptio.net]
>Sent: Friday, June 12, 2009 4:34 PM
>To: Leon Aronson (DT)
>Cc: cmake at cmake.org
>Subject: Re: [CMake] import library
>
>On Fri, Jun 12, 2009 at 10:42:56AM +0200, Leon Aronson (DT) wrote:
>> 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.
>
>Import libraries are controlled by ARCHIVE_OUTPUT_DIRECTORY.
>You are only setting RUNTIME_OUTPUT_DIRECTORY in that
>CMakeLists you posted.
>
>> My question is:
>> how can I convince Cmake to either
>> - not set an Import Library at all, or
>
>What do you plan to do with the .dlls you generated without
>the import libraries? You can't link against .dlls.
>
>tyler
>
More information about the CMake
mailing list