blob: 6d415dd25fb2f1ca7511fb97a49c54eb2ff61aee (
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
|
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
)
target_include_directories(contrib-libs-tbb PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/tbb/include
)
target_include_directories(contrib-libs-tbb PRIVATE
${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/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
)
|