blob: be2257fa26f427908f1ad196a1ee04b36a3e76a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# This Jamfile is the same as Jamfile2, except that
# it tries to access prebuilt targets using absolute
# paths. It used to be broken on Windows.
import os ;
local dll-suffix = so ;
local prefix = "lib" ;
if [ os.name ] in NT
{
if [ MATCH ^(gcc) : $toolset ]
{
dll-suffix = dll.a ;
prefix = lib ;
}
else
{
dll-suffix = lib ;
prefix = "" ;
}
}
else if [ os.name ] in CYGWIN
{
dll-suffix = dll ;
}
else if [ os.name ] in MACOSX
{
dll-suffix = dylib ;
}
project ext ;
# Assumed bjam was invoked from the project root
local pwd = [ PWD ] ;
lib a :
: <file>$(pwd)/ext/debug/$(prefix)a.$(dll-suffix) <variant>debug
:
: <include>debug
;
lib a :
: <file>$(pwd)/ext/release/$(prefix)a.$(dll-suffix) <variant>release
:
: <include>release
;
|