<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 may be missing something but I don't
see an option to set this in cmake-gui yet either.<br>
As far as I understand it setting CMAKE_GENERATOR_TOOLSET by
manually adding it to the cache in cmake-gui should not work.<br>
<br>
The only way to currently set it (as far as I can see) is by using
the -T option for the cmake command line client.<br>
<br>
Nils<br>
<br>
On 12.05.2013 14:16, Szymon Gatner wrote:<br>
</div>
<blockquote
cite="mid:CALqx0+VgFgMHU_Z=xxHMuARj8v0cLY_CFiT3aU1xjmsWyM=M0w@mail.gmail.com"
type="cite">
<div dir="ltr">Oh, sorry it was "v110_xp" for cmake-gui of course
too.
<div><br>
</div>
<div>So there is no way to set it outside the gui?<br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/5/12 Nils Gladitz <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:gladitz@sci-vis.de" target="_blank">gladitz@sci-vis.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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
moz-do-not-send="true"
href="http://public.kitware.com/Bug/view.php?id=13961"
target="_blank">http://public.kitware.com/Bug/view.php?id=13961</a><br>
<br>
Nils
<div>
<div class="h5"><br>
<br>
On <a moz-do-not-send="true"
href="tel:12.05.2013" value="+4812052013"
target="_blank">12.05.2013</a> 13:34, Szymon
Gatner wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<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>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><br>
</div>
<div>Regards,</div>
<div>Szymon Gatner</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<span class="HOEnZb"><font color="#888888">
<pre>--
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the CMake FAQ at: <a moz-do-not-send="true" href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</font></span></blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>