and (sorry for double reply) having add_executable always build as a library means I can't build real executables... if it did it based on the WIN32 flag (or equivalent0 it would be better
On Wed, Mar 26, 2014 at 7:17 AM, J Decker <[email protected]> wrote: > 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 >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
