-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
24 lines (20 loc) · 895 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required(VERSION 3.0)
project(tbbs)
list(APPEND CMAKE_MODULE_PATH "/home/blackgeorge/CLionProjects/FindTBB")
find_package(TBB COMPONENTS tbbmalloc tbbmalloc_proxy tbb_preview)
add_executable(main main.cpp)
add_executable(simple simple.cpp)
add_executable(example example.cpp)
add_executable(parallel_for parallel_for.cpp random_data.h random_data.cpp)
add_executable(2d_for 2d_for.cpp)
add_executable(parallel_reduce parallel_reduce.cpp random_data.h random_data.cpp foo.cpp foo.h)
add_executable(random_data random_data.cpp random_data.h)
add_executable(flow_graph flow_graph.cpp)
target_link_libraries(main tbb)
target_link_libraries(simple tbb)
target_link_libraries(example tbb)
target_link_libraries(2d_for tbb)
target_link_libraries(parallel_for tbb)
target_link_libraries(parallel_reduce tbb)
target_link_libraries(random_data tbb)
target_link_libraries(flow_graph tbb)