ConfigureChecks.cmake and Windows

Brad King brad.king at kitware.com
Fri Feb 10 21:37:22 CET 2006


Alex,

In order to reliably test for symbols on all platforms including Windows 
one should use the check_symbol_exists macro because it accounts for 
symbols defined as macros or with non-C calling conventions.  I've 
attached a patch that converts some of the checks in 
ConfigureChecks.cmake and documents how to add more such checks.

The most important change in the patch right now is to use 
check_symbol_exists for vsnprintf in order to build on Visual Studio.

-Brad
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configChecks1.patch
Url: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060210/448a6d37/attachment-0001.ksh 


More information about the Kde-buildsystem mailing list