Hi CMake developers,
In July I came up with a patch for Windows Phone 8 which also generated a single set of projects which support both the ARM and x86 platforms. I did this by hacking at the VS Target Generator chain. Brad King asked me to refactor out the multi-CPU architecture (platform) part, and rename the old "Visual Studio 11 Windows Phone 8" generator. I have now done that - which took a bit of time while I figured out how I should better do the multi-platform to make it less of a hack. Also I needed to figure out to build Qt 4 so I could build Cmake-Gui on VS2012 and at least run some one-off tests etc etc. I've created two branches off in a GitHub fork of CMAKE to track these separately as I haven't got push access to the Kitware Github. They are: https://github.com/paulannetts/CMake/tree/vs11MultiPlatform and https://github.com/paulannetts/CMake/tree/windows-phone-8 The current mechanism creates a new CMAKE variable "CMAKE_MSVC_PLATFORMS" which specifies the CPU architectures you want to generate for. I've extended the "Visual Studio 11" generator so that the default platforms are "Win32;x64". So in CMAKE-GUI this looks like: WP8 defines a new "Visual Studio 11 Windows-Phone-8" generator. For this generator the default platforms are "Win32;ARM". Comments: - It should be possible to extend this for Windows Runtime apps (or Windows 8, "Metro", "Modern"), but I haven't looked into that. - Multi-platform should work with the "Visual Studio 12" generator, but I haven't tested this generator as I have yet to install VS 2013. - It's based off of the July12 Nightly build so quite old, but I thought I'd share what I had before worrying about bringing that up-to-date. Sorry it took a while to get back to this. I'm looking forward to comments on the above. Regards, Paul Annetts.
<<image001.png>>
-- 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
