<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I think the proper value for Platform
Toolset is "v110_xp" so "vs11_xp" shouldn't have worked.<br>
You can see the legally available values when you open any C++
project in Visual Studio and follow Project -> Properties ->
Configuration Properties -> General -> "Platform Toolset".<br>
<br>
According to the documentation CMAKE_GENERATOR_TOOLSET is supposed
to be read to see the value that the user set with the new -T
cmake option rather than written to.<br>
This is also collaborated by this issue report:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/Bug/view.php?id=13961">http://public.kitware.com/Bug/view.php?id=13961</a><br>
<br>
Nils<br>
<br>
On 12.05.2013 13:34, Szymon Gatner wrote:<br>
</div>
<blockquote
cite="mid:CALqx0+UpXgbi=JshWupv=RT08Q-3mEBcPQYbef-_DJEnOL1J1A@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I am trying to target Win XP from Visual Studio 11 (2012)
and I just tried new CMAKE_GENERATOR_TOOLSET variable with
vs11_xp value and it worked nicely.</div>
<div><br>
</div>
<div>Thing is, it only seems to work when it is added manually
in cmake-gui via "Add Entry" but not when I am adding</div>
<div><br>
</div>
<div>set(CMAKE_GENERATOR_TOOLSET v110_xp)<br>
</div>
<div><br>
</div>
<div style="">to the root CMakeLists.txt (tried also with
"v110_xp" as was not sure). I am new to CMake and probably
missing something obvious?</div>
<div style=""><br>
</div>
<div style="">Regards,</div>
<div style="">Szymon Gatner</div>
<div style=""><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
<br>
</body>
</html>