From 6210c21984e9319b04ba84cc9937e92519770295 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Thu, 29 Oct 2009 07:18:26 +0000 Subject: Added support for different compilation modes git-svn-id: http://pugixml.googlecode.com/svn/trunk@193 99668b35-9821-0410-8761-19e4c4f06640 --- Jamfile.jam | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Jamfile.jam') diff --git a/Jamfile.jam b/Jamfile.jam index 48dd03a..6908c9f 100644 --- a/Jamfile.jam +++ b/Jamfile.jam @@ -21,8 +21,18 @@ if ( ! $(configuration) ) configuration = "debug" ; } +# remove empty define +defines -= "" ; + # options -BUILD = build/$(toolset)/$(configuration) ; +if ( $(defines) ) +{ + BUILD = build/$(toolset)/$(defines:J=-)/$(configuration) ; +} +else +{ + BUILD = build/$(toolset)/standard/$(configuration) ; +} if ( $(toolset) = "mingw" ) { -- cgit v1.2.3