boost build - specify compiler options when using Visual C++
<p>Update:<br>
Now, I use</p>

<pre><code>using msvc : 14.0 : : &lt;compileflags&gt;/O1 ; 
</code></pre>

<p>in my project-config.jam. The behavior is what I expect.<br>
But when I replace /O1 to /Ox, the .lib is same as /O2.<br>
/Ox doesn't work correctly!!!</p>

<p>Origin:<br>
I use this command</p>

<pre><code>b2.exe variant=release
</code></pre>

<p>but how do I force boost build to use /Ox instead of /O2?<br>
(The default setting for release builds is /O2, but I want /Ox)<br><br>
P.S., I try</p>

<pre><code>using msvc : 14.0 : : /Ox ; 
</code></pre>

<p>in my project-config.jam, but it doesn't work.</p>