[cmake-developers] Building executables as libraries

J Decker d3ck0r at gmail.com
Wed Mar 26 10:17:05 EDT 2014


I dunno; again, there isn't a magic call to 'main' which sets up the
approriate call... there could be, but it would be project specific....

It would make more sense to make a macro like
add_program
which would hide the if; and would be an easy conversion from
add_executable to add_program ....

still think at this point it's up to the developer and that having cmake
just produce dll's instead of EXE's isn't quite enough
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140326/61125ded/attachment-0002.html>


More information about the cmake-developers mailing list