[CMake] IMPORTED_LOCATION

Maik Beckmann beckmann.maik at googlemail.com
Mon Dec 1 11:36:47 EST 2008


Am Montag, 1. Dezember 2008 schrieb Hendrik Sattler:
> Maik Beckmann schrieb:
> > Am Montag, 1. Dezember 2008 schrieb Micha Renner:
> >> Why is it helpful to know the location of the Windows-DLL during the
> >> build-process?
> >
> > mingw's linker ignores the import .lib and takes .dll directly.
>
> AFAIK, it can use both, means unlike msvc it doesn't depend on the
> presence of the .lib file. But if you give him that, it will use it.
> Actually, when using -lfoo, it will choose the .dll.a instead of the
> .dll file.

Didn't know that, thank you for elaborating.


More information about the CMake mailing list