<br><br><div class="gmail_quote">On Tue, Jun 17, 2008 at 9:24 PM, Christian Ehrlicher <<a href="mailto:Ch.Ehrlicher@gmx.de">Ch.Ehrlicher@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bill Hoffman schrieb:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Alexander Neundorf wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tuesday 17 June 2008, Christian Ehrlicher wrote:<br>
...<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do you define which vsvars32.bat (or vsvars64.bat) to use? I've more<br>
than one compiler on my system...<br>
</blockquote>
<br>
The first time you would have to run cmake in the right environment (i.e. where the correct vcvars.bat has been executed).<br>
But I don't have a windows here, so I am not the best person for this...<br>
<br>
</blockquote>
<br>
I realize some people get confused by this. However, I don't think it is too much to ask that you have a correct environment setup for using the compiler. We ask no less on Linux/Unix. If gcc is incorrectly installed, and can't find headers, we don't try and add -I stuff to fix the problem...<br>
<br>
</blockquote></div>
That's my opinion too - I don't see the point why it should be so hard to set up the correct environment so that it must be done by cmake.<br><font color="#888888">
<br>
</font></blockquote><div><br>Hi,<br><br>The point is not to setup the compiler, it is to have cmake include path pointing to standard locations. For example where STL header are (like<font size="2"> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/include o</font>n linux), to avoid extra configurations step in the IDE, not for the compiler. I talk especially about Eclipse CDT, in which STL automatic completion work well under linux, but not under windows.<br>
</div></div>