[CMake] Setting default make options for Makefiles generator

Adolfo Rodríguez dofo79 at gmail.com
Fri Mar 6 03:27:52 EST 2009


If none of the developers sees any important issue with this proposal, I'll
submit a feature request based on what has been discussed in the current
thread.

Thanks all,


On Thu, Mar 5, 2009 at 11:23 AM, Adolfo Rodríguez <dofo79 at gmail.com> wrote:

>
>
> On Thu, Mar 5, 2009 at 11:17 AM, Kito Berg-Taylor <kito.berg-taylor at dlr.de
> > wrote:
>
>> I would like to second this idea, because it would solve another problem
>> I'm having regarding CMake and environment variables.
>>
>
> Oh,  now that you mention environment variables, I think I could also
> benefit from that too!
>
>
>> 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 <eric.noulard at gmail.com>
>> wrote:
>> >
>> > > 2009/3/5 Adolfo Rodr?guez <dofo79 at gmail.com>:
>> > > > 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
>>
>
>
>
> --
> Adolfo Rodríguez Tsouroukdissian
>
> Robotics engineer
> PAL ROBOTICS S.L
> http://www.pal-robotics.com
> Tel. +34.93.414.53.47
> Fax.+34.93.209.11.09
>



-- 
Adolfo Rodríguez Tsouroukdissian

Robotics engineer
PAL ROBOTICS S.L
http://www.pal-robotics.com
Tel. +34.93.414.53.47
Fax.+34.93.209.11.09
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090306/9330a22e/attachment.htm>


More information about the CMake mailing list