aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tbb/CMakeLists.darwin.txt
blob: a34e19b4a06ec841bcf1da3d56455cd98355fa8d (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
# 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(contrib-libs-tbb)
target_compile_options(contrib-libs-tbb PRIVATE
  -D__TBB_BUILD
  -mrtm
  -mwaitpkg
  -DUSE_PTHREAD
  -D__TBB_USE_ITT_NOTIFY
  -DDO_ITT_NOTIFY
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-tbb PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include
)
target_link_libraries(contrib-libs-tbb PUBLIC
  contrib-libs-cxxsupp
)
target_sources(contrib-libs-tbb PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/address_waiter.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/allocator.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/arena_slot.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/concurrent_bounded_queue.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/dynamic_link.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/exception.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/global_control.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/governor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/main.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/market.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/misc_ex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/observer_proxy.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/parallel_pipeline.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/private_server.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/profiling.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/queuing_rw_mutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rml_tbb.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_mutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/rtm_rw_mutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/semaphore.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/small_object_pool.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_dispatcher.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/task_group_context.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/version.cpp
  ${CMAKE_SOURCE_DIR}/contrib/libs/tbb/src/tbb/itt_notify.cpp
)