]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/prebuilt/ext/jamfile3.jam
update sources to v12.2.3
[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 = "" ;
10 if [ os.name ] in CYGWIN NT
11 {
12 if [ MATCH ^(gcc) : $toolset ]
13 {
14 dll-suffix = dll ;
15 }
16 else
17 {
18 dll-suffix = lib ;
19 }
20 }
21 else
22 {
23 prefix = "lib" ;
24 }
25 if [ os.name ] in MACOSX
26 {
27 dll-suffix = dylib ;
28 }
29
30 project ext ;
31
32 # Assumed bjam was invoked from the project root
33 local pwd = [ PWD ] ;
34
35 lib a :
36 : <file>$(pwd)/ext/debug/$(prefix)a.$(dll-suffix) <variant>debug
37 :
38 : <include>debug
39 ;
40
41 lib a :
42 : <file>$(pwd)/ext/release/$(prefix)a.$(dll-suffix) <variant>release
43 :
44 : <include>release
45 ;
46