blob: 36c5337e1aa24e880f642407bf2dc8cfa8a6dc07 (
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
|
# Copyright 2017 Steven Watanabe
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.txt or copy at
# https://www.bfgroup.xyz/b2/LICENSE.txt)
import modules ;
import os ;
import toolset ;
path-constant here : . ;
local PYTHON = [ os.environ PYTHON_CMD ] ;
using gcc : 4.8.3 : $(PYTHON) $(here)/src/gcc-4.8.3-linux.py : : <target-os>linux ;
using gcc : 4.2.1 : $(PYTHON) $(here)/src/gcc-4.2.1-darwin.py : : <target-os>darwin ;
# hard-code this to make the test work on other platforms
modules.poke darwin : .host-osx-version : 10.11.0 ;
using darwin : 4.2.1 : $(PYTHON) $(here)/src/darwin-4.2.1.py
: <archiver>$(here)/src/bin/libtool
<striper>$(here)/src/bin/strip
: <target-os>darwin
;
using clang-darwin : 3.9.0 : $(PYTHON) $(here)/src/clang-3.9.0-darwin.py
: <archiver>$(here)/src/bin/ar
;
using clang-linux : 3.9.0 : $(PYTHON) $(here)/src/clang-linux-3.9.0.py
: <archiver>$(here)/src/bin/ar
;
using clang-vxworks : 4.0.1 : $(PYTHON) $(here)/src/clang-vxworks-4.0.1.py
: <linker>$(here)/src/bin/ld
<archiver>$(here)/src/bin/ar
;
using intel-darwin : 10.2 : $(PYTHON) $(here)/src/intel-darwin-10.2.py
: <archiver>$(here)/src/bin/ar
;
# TODO: msvc toolset should not require this env variable to be presented
modules.poke .ENVIRON : PROCESSOR_ARCHITEW6432 : amd64 ;
using msvc : 14.3 : :
"<compiler>$(PYTHON) $(here)/src/msvc-14.3.py"
"<linker>$(PYTHON) $(here)/src/linkx.py"
;
|