You might want to open an issue that is a feature request that asks for exactly what you think you want....<div><br></div><div>There are several already open that talk about / have patches for adding support for WinCE and Symbian via adding CMake generators.</div>
<div><br></div><div>At least these 3 (and probably more) already touch on the topic:</div><div><a href="http://public.kitware.com/Bug/view.php?id=8486">http://public.kitware.com/Bug/view.php?id=8486</a><br></div><div><a href="http://public.kitware.com/Bug/view.php?id=8102">http://public.kitware.com/Bug/view.php?id=8102</a></div>
<div><a href="http://public.kitware.com/Bug/view.php?id=7919">http://public.kitware.com/Bug/view.php?id=7919</a><br><div class="gmail_quote"><br></div><div class="gmail_quote">Unfortunately, some of these take the approach of adding more and more CMake generators rather than simply using the existing generators and adding platforms. Granted, there are several things to consider in a re-design that would allow extending to platform-organized sln/vcproj files... but I think it would be better in the long run than simply adding new CMake generators every time somebody wants a new architecture in a Visual Studio project.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">The main issue is TRY_COMPILE results. They will be different for different architectures. Of course, strictly speaking, you could construct try_compile calls that give you one result in a Debug build and another in a Release build, right now. (Different build time configs may results in different results...) So.... really try_compile needs to be avoided or somehow account for different configs and platforms for a project to work as expected after being configured by CMake. (Iterating over all generated configs/platforms and storing separate results keyed by config and platform would be one approach...)</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Looking forward to more discussion.....</div><div class="gmail_quote"><br></div><div class="gmail_quote">David</div><div class="gmail_quote"><br></div><div class="gmail_quote">
<br></div><div class="gmail_quote">On Fri, Jun 5, 2009 at 12:41 PM, Tyler Roscoe <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
First, the thread I created about this question on Monday:<br>
<a href="http://www.cmake.org/pipermail/cmake/2009-June/029805.html" target="_blank">http://www.cmake.org/pipermail/cmake/2009-June/029805.html</a><br>
<div class="im"><br>
On Fri, Jun 05, 2009 at 08:57:34AM -0400, David Cole wrote:<br>
&gt; It is not possible with present CMake, although, in my mind it would be a<br>
&gt; reasonable feature request for CMake&#39;s Visual Studio generator to support<br>
&gt; multiple architecture solution/project files. If the native build tool<br>
&gt; supports a given feature, then CMake might reasonably be expected to take<br>
&gt; advantage of that feature if there is enough demand for it within the CMake<br>
&gt; community.<br>
&gt; Visual Studio developers are used to having multiple configurations and<br>
&gt; multiple architectures all build-able from within a single solution file.<br>
<br>
</div>I agree with all this, particularly about what VS devs are accustomed to<br>
seeing. I haven&#39;t even really rolled out our CMake system yet and devs<br>
are already complaining about the win32/x64 situation :).<br>
<br>
David, should I open an issue in the tracker?<br>
<font color="#888888"><br>
tyler<br>
</font></blockquote></div><br></div>