<p dir="ltr">You are correct: if you're using the visual studio generators it doesn't matter (in general) what your process environment variables are. Note that if you're using find package, some of those scripts use environment variables to help find libraries, but they are not the "standard" variables set by the visual studio command prompt scripts.</p>
<p dir="ltr">The command prompt would matter if, for instance, you were using the nmake makefiles generator.</p>
<p dir="ltr">Ryan </p>
<br><div class="gmail_quote">On Wed, Mar 4, 2015, 11:03 AM Scott Aron Bloom <<a href="mailto:scott.bloom@onshorecs.com">scott.bloom@onshorecs.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Another question on this..<br>
<br>
It appears, that cmake creates the proper solution, for 64 bits even if the shell is setup for 32 bits, and vice versa.<br>
<br>
Is this correct?  Meaning when its checking the C compiler and CXX compiler ABI info and what not, its not looking for bit width, it uses the generator "Visual Studio...Win64" vs "Visual Studio" for bit width<br>
<br>
If Im not using a command line based build, does it matter how my command line is setup for running cmake?<br>
<br>
Scott<br>
<br>
-----Original Message-----<br>
From: CMake [mailto:<a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.<u></u>org</a>] On Behalf Of Scott Aron Bloom<br>
Sent: Friday, February 27, 2015 8:26 AM<br>
To: John Drescher<br>
Cc: <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>
Subject: Re: [CMake] Multi-platform visual studio projects<br>
<br>
Thanks!<br>
<br>
-----Original Message-----<br>
From: John Drescher [mailto:<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>]<br>
Sent: Friday, February 27, 2015 8:26 AM<br>
To: Scott Aron Bloom<br>
Cc: <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>
Subject: Re: [CMake] Multi-platform visual studio projects<br>
<br>
> However,  once the solution is created, does the "path" of the shell matter at all?<br>
<br>
No.<br>
<br>
John<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/<u></u>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/<u></u>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/<u></u>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/<u></u>mailman/listinfo/cmake</a><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/<u></u>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/<u></u>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/<u></u>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/<u></u>mailman/listinfo/cmake</a><br>
</blockquote></div>