Stephen Kelly wrote: > There would probably need to be some properties to control it
Bill and J Decker seem to have arrived at almost this point in a subthread discussion. In a 'executables are linked as libraries' environment, there needs to be some property to say 'really build an executable'. For android, that is only for console executables (and I think on BB10). The KDE macro accepts NOGUI to set WIN32_EXECUTABLE to OFF. I think calling the property ANDROID (as equivalent to WIN32_EXECUTABLE) is not the right move. Maybe creating a EXECUTABLE_NONGUI or EXECUTABLE_CONSOLE property instead is the right move. There could also be a add_executable(foo CONSOLE main.cpp) signature, but that's optional porcelain, and the discussion now should not center on it. For context, here's a thread where the opposite was considered: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/2920 Thanks, Steve. -- 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
