2016-07-28 16:58 GMT+03:00 Sergei Nikulov <sergey.niku...@gmail.com>:
> 2016-07-28 15:03 GMT+03:00 Ben Boeckel <ben.boec...@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

I think, for Windows try_compile should be fixed somehow with macros magic.

-- 
Best Regards,
Sergei Nikulov
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to