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