<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial">Hello,</span></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial">I would like to apply the switch "/MP[n]" for setting the number of cores to </span><span style="font-family:arial">be used in a compilation, however it does not behave correctly.</span><br>

</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial">If I add "/MP4" for example in my${CMAKE_CXX_FLAGS_RELEASE}, cmake converts it to "/MP" that means "all cores available". </span></pre>

<pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial">It's like it is not parsing the number but it correctly parses the /MP.</span></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">

<span style="font-family:arial"><br></span></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial">Tested with :</span></pre><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<pre style="white-space:pre-wrap;color:rgb(0,0,0)">
<span style="font-family:arial">Cmake  3.0.0 and 2.8.12.2</span></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:arial">Windows 7 64 bits</span></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">

<span style="font-family:arial">Visual Studio 2013 / </span><span style="font-family:arial">Visual Studio 2010 SP1</span></pre></blockquote><div>
</div></div>