[CMake] IMPORTED_LOCATION
Hendrik Sattler
post at hendrik-sattler.de
Mon Dec 1 11:07:48 EST 2008
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.
HS
More information about the CMake
mailing list