[CMake] Another minor docs issue; no FILE(DIFFERENT ... ) documentation?

David Cole david.cole at kitware.com
Wed Jun 20 14:23:59 EDT 2012


Yes, it was implemented as part of supporting another feature, and was left
undocumented at the time.

And it stuck.

This comment is in the source code, though, and the current implementation
will return "1" or "0" in ${variable}:

  /*
    FILE(DIFFERENT <variable> FILES <lhs> <rhs>)
   */


HTH,
David


On Tue, Jun 19, 2012 at 10:46 PM, Doug <douglas.linder at gmail.com> wrote:

> is FILE(DIFFERENT ...) depreciated or reserved for internal use or
> something?
>
> It doesnt turn up in the docs online or the internal docs
> in Source/cmFileCommand.h
>
> Definitely in Sources/cmFileCommand.cxx though:
>
>  else if ( subCommand == "DIFFERENT" )
>     {
>     return this->HandleDifferentCommand(args);
>
> Just an omission from the docs?
>
> ~
> Doug.
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120620/34be713b/attachment.htm>


More information about the CMake mailing list