blob: 849cd7c215428a97d881bf1a6686a49e0c752f25 (
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
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(restricted-boost-chrono)
target_compile_options(restricted-boost-chrono PRIVATE
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-boost-chrono PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include
)
target_link_libraries(restricted-boost-chrono PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
restricted-boost-assert
restricted-boost-config
restricted-boost-core
restricted-boost-integer
restricted-boost-move
restricted-boost-mpl
restricted-boost-predef
restricted-boost-ratio
restricted-boost-static_assert
restricted-boost-system
restricted-boost-throw_exception
restricted-boost-type_traits
restricted-boost-typeof
restricted-boost-utility
restricted-boost-winapi
)
target_sources(restricted-boost-chrono PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/src/chrono.cpp
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/src/process_cpu_clocks.cpp
${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/src/thread_clock.cpp
)
|