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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to