On 02/17/2015 12:21 PM, Robert Dailey wrote: > What would be the best way to handle detecting which generators support > toolset? > > The confusing piece I had to figure out last night is that there is > simply no "generator" base class from which everything derives, there > are 2 types: extra generators and generators.
The "extra generators" are not of concern here. They are only ever used in conjunction with real "generators". The base class for the latter is cmGlobalGenerator. However, cmGlobalGeneratorFactory is also a candidate for this check since it exists before the actual generator is created. You'll have to pick whichever works more cleanly for this use case. -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