How can I generate a Visual Studio 2012 project targeting Windows XP with CMake?
问题 With Visual Studio 2012 Update 1 released, I am hoping to build a C++ project to support Windows XP. Is there a way to use CMake to generate a project that targets Windows XP? Basically CMake would need to generate a project file that uses Platform Toolset = Visual Studio 2012 - Windows XP (v110_xp). 回答1: According to http://www.cmake.org/Bug/view.php?id=10722 the answer is no yes. Update: The bug mentioned above has been resolved with the following comment: Fixed in Version CMake 2.8.11 A