[CMake] add_executable - WIN32

Dixon, Shane Shane.Dixon at atmel.com
Thu Mar 24 13:14:04 EDT 2011


When I add the line:

 

add_executable( myexec WIN32 ${SOURCES} )

 

Do I need to wrap it in a if (WIN32) block or will the WIN32 option just be ignored in linux?

 

---

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/20110324/5907c331/attachment.htm>


More information about the CMake mailing list