[CMake] Deb Package messages only if deb is available

Dixon, Shane Shane.Dixon at atmel.com
Thu Mar 17 12:34:47 EDT 2011


I want to add some messages at the end of cmake that display all the DEB-related variables and what they're set to.  I'd prefer to now shows these when building on windows where DEB isn't available.  Is there something like 

 

  If(DEBIAN_FOUND)

 

that I can use to determine if the deb package builder will be used?  Should I scan CPACK_GENERATORS for 'DEB"?  What's the best way to do this?

 

---

Shane Dixon

Linux Engineer / Atmel Corporation

Tel: (+1)(719)540-1123

shane.dixon at atmel.com / www.atmel.com

 

The information contained in this email message may be privileged, confidential and/or protected from unauthorized disclosure. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. Please immediately notify the sender by reply if you received this email in error. Thank you for your cooperation.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110317/8bffca9c/attachment-0001.htm>


More information about the CMake mailing list