aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/filesystem/ya.make
blob: fb19913ed18ef726acc546438c45c2b1f2ecb203 (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Generated by devtools/yamaker from nixpkgs 22.05.

LIBRARY()

LICENSE(BSL-1.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.80.0)

ORIGINAL_SOURCE(https://github.com/boostorg/filesystem/archive/boost-1.80.0.tar.gz)

PEERDIR(
    contrib/restricted/boost/assert
    contrib/restricted/boost/atomic
    contrib/restricted/boost/config
    contrib/restricted/boost/container_hash
    contrib/restricted/boost/core
    contrib/restricted/boost/detail
    contrib/restricted/boost/io
    contrib/restricted/boost/iterator
    contrib/restricted/boost/predef
    contrib/restricted/boost/smart_ptr
    contrib/restricted/boost/system
    contrib/restricted/boost/type_traits
    contrib/restricted/boost/winapi
)

ADDINCL(
    GLOBAL contrib/restricted/boost/filesystem/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF
)

IF (OS_LINUX)
    CFLAGS(
        GLOBAL -DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS
    )
ENDIF()

IF (DYNAMIC_BOOST)
    CFLAGS(
        GLOBAL -DBOOST_FILESYSTEM_DYN_LINK
        -DBOOST_FILESYSTEM_SOURCE
    )
ENDIF()

SRCS(
    src/codecvt_error_category.cpp
    src/directory.cpp
    src/exception.cpp
    src/operations.cpp
    src/path.cpp
    src/path_traits.cpp
    src/portability.cpp
    src/unique_path.cpp
    src/utf8_codecvt_facet.cpp
    src/windows_file_codecvt.cpp
)

END()