<html>
    <head>
        <title></title>
        <style type="text/css" media="screen">
body {font-family: verdana, arial, helvetica, sans-serif;font-size: 12px;padding: 5px;margin: 0;background-color: #FFF;}
p, ul, li {margin-top: 0;margin-bottom: 0;}
blockquote {margin-left: 5px;}
div.signature {color: #666;font-size: 0.9em;}
</style>
    </head>
    <body>
        Hello<br /> <br /> I have the following stupid problem with cmake:<br /> <br /> I want <br /> <br /> CMAKE_BUILD_TOOL or the deprecated CMAKE_MAKE_PROGRAM to be set to <br /> <br /> /usr/bin/make -j12&nbsp;&nbsp;&nbsp; (for multithreaded build)<br /> <br /> how can we pass arguments to the build tool (make)?<br /> in eclipse that does not work because in the .cproject file<br /> there is a target now defined as <br /> <br /> &lt;target name=&quot;: all &quot; path=&quot;&quot; targetID=&quot;org.eclipse.cdt.make.MakeTargetBuilder&quot;&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;buildCommand&gt;/usr/bin/make -j12&lt;/buildCommand&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;buildTarget&gt;rebuild_cache&lt;/buildTarget&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;stopOnError&gt;true&lt;/stopOnError&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;useDefaultCommand&gt;false&lt;/useDefaultCommand&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;runAllBuilders&gt;true&lt;/runAllBuilders&gt;<br /> &nbsp;&lt;/target&gt;<br /> which can not be executed!!<br /> but to correctly execute the target in eclipse it should be:<br /> <br /> &lt;target name=&quot;: rebuild_cache&quot; path=&quot;&quot; targetID=&quot;org.eclipse.cdt.make.MakeTargetBuilder&quot;&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;buildCommand&gt;/usr/bin/make&lt;/buildCommand&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;buildArguments&gt; -j12&lt;/buildArguments&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;buildTarget&gt;rebuild_cache&lt;/buildTarget&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;stopOnError&gt;true&lt;/stopOnError&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;useDefaultCommand&gt;false&lt;/useDefaultCommand&gt;<br /> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;runAllBuilders&gt;true&lt;/runAllBuilders&gt;<br /> &lt;/target&gt;<br /> <br /><br />Can anyone help me how to do this properly?<br /><br />thanks alot!<br /><br />
    <div class="signature"><br /><br /><br />-- <br />NEU: FreePhone - kostenlos mobil telefonieren!                        <br />Jetzt informieren: http://www.gmx.net/de/go/freephone</div></body>
</html>