Thanks Philip,<br><br>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.<br>
<br>Cheers,<br><br>Adolfo<br><br><div class="gmail_quote">On Thu, Mar 5, 2009 at 7:37 AM, Philip Lowman <span dir="ltr">&lt;<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>&gt;</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;">
<div class="gmail_quote"><div class="im">On Wed, Mar 4, 2009 at 10:55 AM, Adolfo Rodríguez <span dir="ltr">&lt;<a href="mailto:dofo79@gmail.com" target="_blank">dofo79@gmail.com</a>&gt;</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;">

Hi,<br><br>I was wondering if it&#39;s possible to specify with cmake default options to the make command, i.e., when I type &quot;make foo&quot;, it would be equivalent to &quot;make -j foo&quot;, or &quot;make -C some/path foo&quot;. My first impression is that messing around with what &quot;make&quot; does is out of the scope of cmake (and maybe should not be messed around with ;-) ).</blockquote>

</div><div><br>If the goal is to at the shell change what the make command does, perhaps you could use aliases or shell functions?<br><br>alias make=&quot;make -j5&quot;<br><br>function mymake()<br>{<br>   make -C /my/build/tree/is/usually/here<br>

}<br></div></div><br>function myjmake()<br>{<br>   make -j $1 -C /my/build/tree/is/usually/here<br>}<br>myjmake 500 # lotsa cores<br><br>-- <br><font color="#888888">Philip Lowman<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">http://www.pal-robotics.com</a><br>Tel. +34.93.414.53.47<br>
Fax.+34.93.209.11.09<br>