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.
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: windows desktop A windows desktop B windows mobile 5 windows mobile 6 symbian etc. On Nov 28, 2007 3:28 PM, Pau Garcia i Quiles <[EMAIL PROTECTED]> wrote: > 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 >
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
