> Those are all for the Makefile and Ninja generators, as are > CMAKE_CREATE_WIN32_EXE and CMAKE_CREATE_CONSOLE_EXE. For VS > generators the knowledge has always been hard-coded, with a > special case for Windows CE: > > > http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmLocalVisual > Studio7Generator.cxx;hb=v3.0.1#l1122 > > The cmVisualStudio10TargetGenerator could be taught this > similarly.
Wouldn't it make sense to use the same variables in the VS10+ Generator too? It seems redundant to have the same information again. What's the reason it is hardcoded? Pascal -- 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