[CMake] Why is CMakeOutput.log created for one project but not another?

David Cole david.cole at kitware.com
Mon Jan 14 06:33:43 EST 2008


In the CMake source tree, in Utilities/cmcurl/CMakeLists.txt, there is this:
CHECK_SYMBOL_EXISTS(strcasecmp    "${CURL_INCLUDES}" HAVE_STRCASECMP)

That would be one thing that would do it...

grep for "strcasecmp" in both source trees.

HTH,
David

On 1/13/08, Christian Convey <christian.convey at gmail.com> wrote:
>
> Hi guys,
>
> Someone pointed out that when we cmake one of our projects, a file
> CMakeOutput.log and a directory CMakeTmp/ get created.  It looks like
> they're being used to see if the function "strcasecmp()" works on this
> platform.
>
> But we have another project that this doesn't happen at all for, even
> when we build it on the same computer.
>
> Can anyone tell me what in a CMakeLists.txt file causes CMake to run
> this compilation test?
>
> Thanks,
> Christian
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080114/7c81d61c/attachment.htm


More information about the CMake mailing list