]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Copyright Vladimir Prus 2004. |
2 | # Distributed under the Boost Software License, Version 1.0. | |
3 | # (See accompanying file LICENSE_1_0.txt | |
4 | # or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | ||
6 | # This is a generic 'intel' toolset. Depending on the current | |
7 | # system, it forwards either to 'intel-linux' or 'intel-win' | |
8 | # modules. | |
9 | ||
10 | import feature ; | |
11 | import os ; | |
12 | import toolset ; | |
13 | ||
14 | feature.extend toolset : intel ; | |
15 | feature.subfeature toolset intel : platform : : propagated link-incompatible ; | |
16 | ||
17 | rule init ( * : * ) | |
18 | { | |
19 | if [ os.name ] = LINUX | |
20 | { | |
21 | toolset.using intel-linux : | |
22 | $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ; | |
23 | } | |
24 | else if [ os.name ] = MACOSX | |
25 | { | |
26 | toolset.using intel-darwin : | |
27 | $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ; | |
28 | } | |
29 | else | |
30 | { | |
31 | toolset.using intel-win : | |
32 | $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : $(9) ; | |
33 | } | |
34 | } |