diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-29 07:18:26 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-29 07:18:26 +0000 |
commit | 6210c21984e9319b04ba84cc9937e92519770295 (patch) | |
tree | 8e7785005f5af6a7f965ff3aafff9442e863acd6 /Jamfile.jam | |
parent | 15a69d3510b5a53fcdf793785deca3af1f0adc4f (diff) |
Added support for different compilation modes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@193 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamfile.jam')
-rw-r--r-- | Jamfile.jam | 12 |
1 files changed, 11 insertions, 1 deletions
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" )
{
|