-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
67 lines (52 loc) · 1.33 KB
/
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
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
cmake_minimum_required(VERSION 3.10)
project(Pool-HashJoin-PCM VERSION 1.0)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
add_compile_options(-std=c++11)
include_directories(/home/sofia/Projects/CloudDB/pcm/src)
add_library(pcm SHARED IMPORTED)
set_property(TARGET pcm PROPERTY IMPORTED_LOCATION "/home/sofia/Projects/CloudDB/pcm/build/lib/libpcm.so")
add_subdirectory(src)
set(SOURCES
src/global_hash_table.h
src/global_hash_table.cpp
src/safe_queue.h
src/safe_queue.cpp
src/fine_grained_queue.h
src/fine_grained_queue.cpp
src/tuple_buffer.h
src/lock.h
src/thread_pool.h
src/thread_pool.cpp
src/pcm_monitor.cpp
src/pcm_monitor.h
src/join_params.h
src/cpu_mapping.h
src/cpu_mapping.cpp
src/relation_generator.h
src/relation_generator.cpp
src/types.h
src/join.h
src/join.cpp
src/config.h
src/main.cpp
)
add_executable(
Pool-HashJoin-PCM
${SOURCES}
)
target_include_directories(
Pool-HashJoin-PCM
PUBLIC
"${PROJECT_BINARY_DIR}/src"
)
target_link_libraries(
Pool-HashJoin-PCM
pcm
pthread
numa
)
target_compile_definitions(
Pool-HashJoin-PCM
PUBLIC KEY_8B=True
)