[CMake] import library

Tyler Roscoe tyler at cryptio.net
Fri Jun 12 10:33:58 EDT 2009


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