summaryrefslogtreecommitdiff
path: root/Jamfile.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamfile.jam')
-rw-r--r--Jamfile.jam12
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" )
{