[CMake] add_executable - WIN32
Rolf Eike Beer
eike at sf-mail.de
Thu Mar 24 13:50:18 EDT 2011
Am Donnerstag, 24. März 2011, 11:14:04 schrieb Dixon, Shane:
> 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?
It is ignored on anything but Windows. Care to send a patch to the
documentation to make this more obvious?
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110324/65e4ec9b/attachment.pgp>
More information about the CMake
mailing list