[cmake-developers] Strange behaviour with check_library_exists on Windows

Sergei Nikulov sergey.nikulov at gmail.com
Mon Aug 1 05:22:26 EDT 2016


2016-07-28 17:10 GMT+03:00 Sergei Nikulov <sergey.nikulov at gmail.com>:
> 2016-07-28 16:58 GMT+03:00 Sergei Nikulov <sergey.nikulov at gmail.com>:
>> 2016-07-28 15:03 GMT+03:00 Ben Boeckel <ben.boeckel at kitware.com>:
>>> On Thu, Jul 28, 2016 at 13:33:35 +0300, Sergei Nikulov wrote:
>>>> -- Looking for CertFreeCertificateContext in crypt32;
>>>> -- Looking for CertFreeCertificateContext in crypt32; - found
>>>> crypt32 found
>>>
>>> These are tested using try_compile. Is there anything interesting under
>>> CMakeFiles/CMakeTmp/* when you configure with --debug-trycompile? It
>>> should contain the example files used and output from the compiler.
>>>
>>
>> Ben,
>>
>> So looks like name mangling differs for different targets.
>
> Yes.
> Here the explanation
> http://stackoverflow.com/questions/28062446/x64-dll-export-function-names
>

Hello Ben,

Should I submit issue regarding this findings?

Thank you.

-- 
Best Regards,
Sergei Nikulov


More information about the cmake-developers mailing list