The use case here is more like:

- run CMake:

check_include_file(uuid/uuid.h HAS_UUID_H)
if(not HAS_UUID_H) --> Fatal error + help how to resolve it.

- resolve the problem

- re-run CMake.


Greetz


On 01/03/2008, Bill Hoffman <[EMAIL PROTECTED]> wrote:
> Philip Lowman wrote:
>  > On Sat, Mar 1, 2008 at 10:09 AM, Steven Van Ingelgem
>
> > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>  >
>  >     In fact what I want is "check_include_file( uuid/uuid.h HAS_UUID_H )".
>  >     Where this check is a "blocking check" (in other words, cmake will
>  >     stop processing the cmakelists.txt)... The next time it should
>  >     re-check the include file...
>  >
>  >
>  > I don't know if there is a way to do this in CMake code but one thing
>  > you can do is open up CMakeCache.txt in your build tree and manually
>  > delete the line that says:
>  > HAS_UUID_H:INTERNAL=
>  > This will force the rechecking for the header file.
>  >
>
>
> What is the use case here?  Is this file appearing and disappearing and
>  moving around a lot on this machine?
>
>
>  -Bill
>
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to