[CMake] Feature request: MESSAGE(WARNING ...)

Filipe Sousa filipe at ipb.pt
Thu Jun 1 05:52:05 EDT 2006


Brandon J. Van Every wrote:
> I would like a MESSAGE(WARNING ...) feature.  This would pop up a dialog 
> box in CMakeSetup, or readily appear in a display on CCMake, but it 
> wouldn't skip the generation.  It would get the user's attention that 
> there's something not quite right about what's going to happen with the 
> build, but that it's not a dealbreaker.  For instance, I need Chicken 
> 2.310 to generate .exports files, but if the available Chicken is too 
> low, I can still do the build.  There just won't be any .exports files.  
> The user should know this because it's important, and there's something 
> they can do about it.  Namely, obtain a higher Chicken or compile it a 
> 2nd time.
> 
> On the command line, a WARNING would display the same as a STATUS.  The 
> problem is with the CMakeSetup and CCMake front ends.  There's no good 
> way to communicate information except by SEND_ERROR.
> 
> 
> Cheers,
> Brandon Van Every

MESSAGE("This is warning")
This should work

-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20060601/14653211/signature.pgp


More information about the CMake mailing list