Well, not exactly, but close. We have a variety of different builds and
some only work on some platforms. For instance on windows desktop we
have 2 different builds which both use msvc.<br>
<br>
The goal would basically be to supply a list of builds that are
supported and pick the compiler based on the build name, since we only
support a limited number of platforms. An example of this build list
would be:<br>
<br>
windows desktop A<br>
windows desktop B<br>
windows mobile 5<br>
windows mobile 6<br>
symbian<br>
etc.<br><br><div class="gmail_quote">On Nov 28, 2007 3:28 PM, Pau Garcia i Quiles &lt;<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Quoting Brandon Van Every &lt;<a href="mailto:bvanevery@gmail.com">bvanevery@gmail.com</a>&gt;:<br><br>&gt; On Nov 28, 2007 5:01 PM, Jesse Corrington &lt;<a href="mailto:jesse.corrington@gmail.com">jesse.corrington@gmail.com
</a>&gt; wrote:<br>&gt;&gt; I am wondering if there is anyway to suppress the compiler picker dialog<br>&gt;&gt; that comes up when you first do configure on a cmakelists. For my project I<br>&gt;&gt; want to have an option for what build they want and based on that I would
<br>&gt;&gt; like to set the compiler through cmake script if possible. Is there anyway<br>&gt;&gt; to do this?<br>&gt;<br>&gt; I don&#39;t get it. &nbsp;If I pick a compiler via CMakeSetup, I&#39;m telling you<br>&gt; what build I want. &nbsp;What do you mean?
<br><br></div>I think what he wants to do it exactly the opposite we usually do.<br><br>Instead of choosing a compiler (for instance, Visual C++), then choose<br>a build type (Release, Debug, etc) in the CMakeLists.txt depending on
<br>the command line, he seems to want to ask for the build type, then<br>choose a compiler depending on that. If I have understood correctly,<br>he wants to say &quot;if build type is debug, use Visual C++ but if build<br>
type is release, use mingw&quot;.<br><font color="#888888"><br>--<br>Pau Garcia i Quiles<br><a href="http://www.elpauer.org" target="_blank">http://www.elpauer.org</a><br>(Due to my workload, I may need 10 days to answer)
<br></font><div><div></div><div class="Wj3C7c"><br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">
http://www.cmake.org/mailman/listinfo/cmake</a><br></div></div></blockquote></div><br>