summaryrefslogtreecommitdiff
path: root/tools/build/v2/example/variant/jamroot.jam
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/v2/example/variant/jamroot.jam')
-rw-r--r--tools/build/v2/example/variant/jamroot.jam14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/build/v2/example/variant/jamroot.jam b/tools/build/v2/example/variant/jamroot.jam
new file mode 100644
index 0000000000..e19476ccc0
--- /dev/null
+++ b/tools/build/v2/example/variant/jamroot.jam
@@ -0,0 +1,14 @@
+# Copyright 2004 Vladimir Prus
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+
+
+# Define a build variant which is just combination
+# of four properties.
+variant crazy : <optimization>speed <inlining>off
+ <debug-symbols>on <profiling>on ;
+
+# Define a built variant inherited from 'release'.
+# It defines one new property and get all properties
+# from parent variant.
+variant super_release : release : <define>USE_ASM ;