I've resisted the urge to patch, since I really don't want to be dependent on a custom version of CMake.
As far as how many people would like it, I don't know, but my guess would be that most who were more familiar with configure or really anything that Getopt long-ish than CMake would probably find it more familiar. What I've done in the past in a few cases where people complained mightily (as well as pretty unreasonably, as this is hardly end of the world) was: -DCONFIGOPTS="--enable-<whatever> --verbose --debug..." AND/OR -DCONFIGOPTSFILE=<somefile which contained options, one per line> And then parse that/those (using a cmake module). Very ugly, but they could usually handle that with much less complaining, and it also prevented potential conflicts with cmake '--' options. mm -----Original Message----- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Eric Noulard Sent: Tuesday, February 08, 2011 3:44 AM To: Michael Wild Cc: cmake@cmake.org Subject: Re: [CMake] Automatic out of source build's possible? 2011/2/8 Michael Wild <them...@gmail.com>: > And there's the hidden trap that the -D options must be *before* the -P > option. Very nasty, especially for people who never used CMake before. Yes right I was caught by that in the past. > On 02/08/2011 09:27 AM, Martin O'Brien wrote: >> Absolutely, and that is what I do in some cases, but in the particular case >> that I described - which is what I had in mind; I should have been clearer - >> it doesn't help, as it's still -D... syntax. Ok then may be you can propose a patch for some generic --enable-<XXXX> --disable-<XXXX> cmake command line option that will be automatically translated to -DXXXX=ON seems do-able. I don't know if many people would like it ? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake