On 11/13/2014 07:41 AM, Marco wrote: > Thanks for your tips! I was a bit afraid that VisualStudio > would be recommended as starting-point. There is lots of > inherited code there which is rather hard to understand as > a cmake-newbie-developer...
It's the global/local/target generator breakdown that should be followed for a new generator. The VS generators have all kinds of inheritance to support multiple versions. Yours shouldn't need that level of complexity. > I had a look at XCode-generators and the look quit tidy. It uses fragile logic like a "CurrentLocalGenerator" that is not a good example of how to organize the generation steps. One day it may be refactored. -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
