I would like to second this idea, because it would solve another problem I'm having regarding CMake and environment variables.
Not to mention that being able to set the default to -j4 would be useful for internal projects where it's known that all machines building the project will have uniform hardware specifications. -kito On Thu, Mar 5, 2009 at 9:46 AM, Eric Noulard <[email protected]> wrote: > > > 2009/3/5 Adolfo Rodr?guez <[email protected]>: > > > Thanks Philip, > > > > > > I had considered the alias option before, but wanted to rule out that > > there > > > was no way of doing it the scope of a cmake project, however strange that > > > may sound. I will probably take that path now. > > > > Note that I find the idea of being able to pass generator-specific > > options/file > > to cmake as a good idea. It could be done via a cmake command line option > > > > cmake -G"Unix Makefiles" -Go"whatever option passed to the specific > > generator" > > > > the -Go flags may be used to pass on generator specific options to the > > generator itself. It may be used to pass some options such as the parallel > > build > > for the makefile generator or whatever fancy VisualStudio specific > > option to it etc... > > > > -Go <string> > > would be a placeholder which should be passed "as-is" to the generator > > which may implement it's own way to handle its specific options > > (more flags, file names containing things, etc...) > > > > the baseline would be that generator shall not require -Go string but "may" > > support specific options. > > > > Do you (all) think it's worth a feature request ? > > > > -- > > Erk > > _______________________________________________ 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
