File: build.jam

package info (click to toggle)
boost1.90 1.90.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 593,156 kB
  • sloc: cpp: 4,190,642; xml: 196,648; python: 34,618; ansic: 23,145; asm: 5,468; sh: 3,776; makefile: 1,161; perl: 1,020; sql: 728; ruby: 676; yacc: 478; java: 77; lisp: 24; csh: 6
file content (46 lines) | stat: -rw-r--r-- 1,369 bytes parent folder | download | duplicates (2)
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
# Copyright René Ferdinand Rivera Morell 2023-2024
# Copyright (c) 2025 Christopher M. Kohlhoff (chris at kohlhoff dot com)
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

require-b2 5.2 ;

constant boost_deps_core :
    /boost/align//boost_align
    /boost/assert//boost_assert
    /boost/config//boost_config
    /boost/system//boost_system
    /boost/throw_exception//boost_throw_exception ;

constant boost_deps_deadline_timer :
    /boost/asio//boost_asio_core
    /boost/date_time//boost_date_time ;

constant boost_deps_spawn :
    /boost/asio//boost_asio_core
    /boost/context//boost_context ;

constant boost_deps_all :
    /boost/asio//boost_asio_core
    /boost/asio//boost_asio_deadline_timer
    /boost/asio//boost_asio_spawn ;

project /boost/asio
    : common-requirements
        <include>include
    ;

local examples = [ glob-tree-ex example : Jamfile.v2 ] ;

explicit
    [ alias boost_asio_core : : : : <library>$(boost_deps_core) ]
    [ alias boost_asio_deadline_timer : : : : <library>$(boost_deps_deadline_timer) ]
    [ alias boost_asio_spawn : : : : <library>$(boost_deps_spawn) ]
    [ alias boost_asio : : : : <library>$(boost_deps_all) ]
    [ alias all : boost_asio test $(examples:D) ]
    ;

call-if : boost-library asio
    ;