On 09/18/2012 02:23 AM, Patrick Gansterer wrote: > If we store everything in one variable (via string concatenation) I > don't see much value in an extra -GP switch. We need to split the > ${CMAKE_GENERATOR} variable into generator+platform then all the time > anyway. > Maybe we can only change to current exact match of the generator name > to a "startsWith" and let the global generator class decide if the > generator name is valid?
Yes, something like that in cmake::CreateGlobalGenerator will work. It will be nice to get rid of the platform-varied generator classes. The reference documentation we generate explicitly lists all names with the platforms right now. That will have to be refactored to list the platformless names with a note about where to specify the platform name. Then we need a per-generator list of platform names along with a note that one specifies "Win32" by leaving the platform name off. Thanks, -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers