mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Expand entry on per-object flags
[SVN r25658]
This commit is contained in:
@@ -227,8 +227,21 @@ path-constant TOP : . ;
|
||||
that target in your <code>exe</code> or <code>lib</code> target:
|
||||
<programlisting>
|
||||
exe a : a.cpp b ;
|
||||
obj b : b.cpp : <optimization>off ;
|
||||
</programlisting>
|
||||
Of course you can use other properties, for example to specify specific
|
||||
compiler options:
|
||||
<programlisting>
|
||||
exe a : a.cpp b ;
|
||||
obj b : b.cpp : <cflags>-g ;
|
||||
</programlisting>
|
||||
You can also use <link linkend="bbv2.tutorial.conditions">conditional
|
||||
properties</link> to a finer control:
|
||||
<programlisting>
|
||||
exe a : a.cpp b ;
|
||||
obj b : b.cpp : <variant>release:<optimization>off ;
|
||||
</programlisting>
|
||||
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user