2009/4/15 Clemens Arth <[email protected]>: > > That's a great idea actually, but I already mentioned exactly this about 9 > months ago when we started the discussion. It would definitely be the best > solution, but at that time I could not figure out how to do it in a clever > way because there is (to my knowledge) no functionality for dialogs in the > cmake framework (just the message stuff for indicating errors), and you > would have to implement such a thing also for the text-mode configuration, > which makes things even more difficult. Nevertheless, if you were able to > implement some dialogs in the framework, this would greatly improve the way > of configuring projects with cmake, because you could also graphically set > up everything else, like setting the toolchain file for example...
Oh, ok. I think I did not listen properly at that time :(. Best I could come up now at the moment, would be to extend the factory method facility in the cmake::Generators map to allow attaching strings. Then in cmake::AddDefaultGenerators I would initiate the parsing of the vcpackages xml file that contains the platform info. Then for each platform I would add a VS8 or VS9 SDK Generator factory method with the respective platform string attached. kind regards Andreas Pokorny _______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake
