On 1/14/08, Brandon Van Every <[EMAIL PROTECTED]> wrote:
>
> On Jan 14, 2008 9:14 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote:
>
>This is all documented in the find_* commands.
>
> I don't think the docs are entirely clear about different invocations
> of FIND_PROGRAM that use the same variable.


C:\Documents and Settings\David>"C:\Program Files\CMake 2.4\bin\cmake"
--help-command FIND_PROGRAM
cmake version 2.4-patch 6

< most of the documentation omitted for brevity -- except for these last 6
lines: >

       in the locations specified by their environment.  Projects may
       override this behavior by simply calling the command twice:

          FIND_PROGRAM(<VAR> NAMES name PATHS paths NO_DEFAULT_PATH)
          FIND_PROGRAM(<VAR> NAMES name)

       Once one of these calls succeeds the result variable will be set and
       stored in the cache so that neither call will search again.


Last two lines pretty much say the result is stored in the cache and
subsequent calls will not search.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to