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 <[email protected]> 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
>
--

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

Reply via email to