I would definitely support the idea. It's more or less what I was looking for. I have a question on the proposal: Would the -Go flags have to be set once per build folder (as the -G flag is), or could it be reset in succesive runs of cmake? Both alternatives would work for me, but I think I prefer the latter. For example, consider the example of parallel builds:<br>
<br>mkdir build; cd build; cmake -G"Unix Makefiles" -Go" -j" ../<br><br>then at some later point, run<br><br>cmake -Go"" ../<br><br>say, to ease console debugging on highly parallel machines.<br>
<br>Let's see what other people think about the idea, and the pros/cons of supporting it (either as a -Go flag, a CMake variable, or whatever implementation is deemed more convenient).<br><br>Cheers,<br><br>Adolfo<br>
<br><div class="gmail_quote">On Thu, Mar 5, 2009 at 9:46 AM, Eric Noulard <span dir="ltr"><<a href="mailto:eric.noulard@gmail.com" target="_blank">eric.noulard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/3/5 Adolfo Rodríguez <<a href="mailto:dofo79@gmail.com" target="_blank">dofo79@gmail.com</a>>:<br>
<div>> Thanks Philip,<br>
><br>
> I had considered the alias option before, but wanted to rule out that there<br>
> was no way of doing it the scope of a cmake project, however strange that<br>
> may sound. I will probably take that path now.<br>
<br>
</div>Note that I find the idea of being able to pass generator-specific options/file<br>
to cmake as a good idea. It could be done via a cmake command line option<br>
<br>
cmake -G"Unix Makefiles" -Go"whatever option passed to the specific generator"<br>
<br>
the -Go flags may be used to pass on generator specific options to the<br>
generator itself. It may be used to pass some options such as the parallel build<br>
for the makefile generator or whatever fancy VisualStudio specific<br>
option to it etc...<br>
<br>
-Go <string><br>
would be a placeholder which should be passed "as-is" to the generator<br>
which may implement it's own way to handle its specific options<br>
(more flags, file names containing things, etc...)<br>
<br>
the baseline would be that generator shall not require -Go string but "may"<br>
support specific options.<br>
<br>
Do you (all) think it's worth a feature request ?<br>
<font color="#888888"><br>
--<br>
Erk<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Adolfo Rodríguez Tsouroukdissian<br><br>Robotics engineer<br>PAL ROBOTICS S.L<br><a href="http://www.pal-robotics.com" target="_blank">http://www.pal-robotics.com</a><br>
Tel. +34.93.414.53.47<br>
Fax.+34.93.209.11.09<br>