]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | import os ; | |
3 | ||
4 | local dll-suffix = so ; | |
5 | local prefix = "" ; | |
6 | if [ os.name ] in CYGWIN NT | |
7 | { | |
8 | if [ MATCH ^(gcc) : $toolset ] | |
9 | { | |
10 | dll-suffix = dll ; | |
11 | } | |
12 | else | |
13 | { | |
14 | dll-suffix = lib ; | |
15 | } | |
16 | } | |
17 | else | |
18 | { | |
19 | prefix = "lib" ; | |
20 | } | |
b32b8144 | 21 | if [ os.name ] in MACOSX |
7c673cae FG |
22 | { |
23 | dll-suffix = dylib ; | |
24 | } | |
25 | ||
26 | project ext ; | |
27 | ||
28 | lib a : | |
29 | : <file>debug/$(prefix)a.$(dll-suffix) <variant>debug | |
30 | : | |
31 | : <include>debug | |
32 | ; | |
33 | ||
34 | lib a : | |
35 | : <file>release/$(prefix)a.$(dll-suffix) <variant>release | |
36 | : | |
37 | : <include>release | |
38 | ; | |
39 |