Quoting Brandon Van Every <[EMAIL PROTECTED]>:

On Nov 28, 2007 5:01 PM, Jesse Corrington <[EMAIL PROTECTED]> wrote:
I am wondering if there is anyway to suppress the compiler picker dialog
that comes up when you first do configure on a cmakelists. For my project I
want to have an option for what build they want and based on that I would
like to set the compiler through cmake script if possible. Is there anyway
to do this?

I don't get it.  If I pick a compiler via CMakeSetup, I'm telling you
what build I want.  What do you mean?

I think what he wants to do it exactly the opposite we usually do.

Instead of choosing a compiler (for instance, Visual C++), then choose a build type (Release, Debug, etc) in the CMakeLists.txt depending on the command line, he seems to want to ask for the build type, then choose a compiler depending on that. If I have understood correctly, he wants to say "if build type is debug, use Visual C++ but if build type is release, use mingw".

--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to