From 2bf6bbc292fa740494f69fc7deb794021759b02e Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Mon, 11 Oct 2004 09:09:52 +0000 Subject: [PATCH] Expand entry on per-object flags [SVN r25658] --- v2/doc/src/faq.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/v2/doc/src/faq.xml b/v2/doc/src/faq.xml index 2e9b487c7..baec2e28f 100644 --- a/v2/doc/src/faq.xml +++ b/v2/doc/src/faq.xml @@ -227,8 +227,21 @@ path-constant TOP : . ; that target in your exe or lib target: exe a : a.cpp b ; +obj b : b.cpp : <optimization>off ; + + Of course you can use other properties, for example to specify specific + compiler options: + +exe a : a.cpp b ; obj b : b.cpp : <cflags>-g ; + You can also use conditional + properties to a finer control: + +exe a : a.cpp b ; +obj b : b.cpp : <variant>release:<optimization>off ; + +