On 12/09/2014 10:57 AM, Bach, Pascal wrote: > set_target_properties(target PROPERTIES LINK_FLAGS "/ENTRY:mainCRTStartup")
I prefer to use LINK_FLAGS only as a last resort. For common settings we should provide a first-class setting. > For consistency reason there could be something like a > WIN32_ENTRYPOINT property. I think that would be the best approach. If you work on it, please ensure the implementation supports all Windows toolchains on all generators, or at least those combinations that already support WIN32_EXECUTABLE. Thanks, -Brad -- 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/mailman/listinfo/cmake-developers
