summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/src/tools/features/find-lib-feature.jam
blob: 84e07e5819001254cf3e9b0f8c3d5ba30606cd25 (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
# Copyright 2017 Rene Rivera
# 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 feature ;

#| tag::doc[]

[[bbv2.builtin.features.find-shared-library]]`find-shared-library`::
Adds a shared library to link to. Usually link:#bbv2.tasks.libraries[`lib`]
targets should be preferred over using this feature.

|# # end::doc[]

feature.feature find-shared-library
    :
    : free ; #order-sensitive ;

#| tag::doc[]

[[bbv2.builtin.features.find-static-library]]`find-static-library`::
Adds a static library to link to. Usually link:#bbv2.tasks.libraries[`lib`]
targets should be preferred over using this feature.

|# # end::doc[]

feature.feature find-static-library
    :
    : free ; #order-sensitive ;

#| tag::path-doc[]

[[bbv2.builtin.features.library-path]]`library-path`::
Adds to the list of directories which will be used by the linker to search for
libraries.

|# # end::path-doc[]

feature.feature library-path
    :
    : free path ; #order-sensitive ;