-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProjectFiles.cmake
30 lines (27 loc) · 1.1 KB
/
ProjectFiles.cmake
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
# Copyright (c) 2018 Harikrishnan (harikrishnan.prabakaran@gmail.com) Distributed under the MIT
# License. See accompanying file LICENSE.md or copy at http://opensource.org/licenses/MIT
set(SRC_PATH "${PROJECT_PATH}/src")
set(SRC_UTILS_PATH "${SRC_PATH}/utils")
set(BENCH_SRC_PATH "${SRC_PATH}/benchmark")
set(YCSB_SRC_PATH "${BENCH_SRC_PATH}/ycsb")
set(TEST_SRC_PATH "${PROJECT_PATH}/test")
# Set benchmark source files.
set(BENCH_SRC
"${BENCH_SRC_PATH}/benchBtree.cpp"
"${BENCH_SRC_PATH}/benchHashTable.cpp"
"${BENCH_SRC_PATH}/benchART.cpp")
set(RAND_INT_BENCH_SRC "${BENCH_SRC_PATH}/randIntBench.cpp")
set(YCSB_SRC
"${YCSB_SRC_PATH}/core/core_workload.cpp"
"${YCSB_SRC_PATH}/db/db_factory.cpp"
"${YCSB_SRC_PATH}/ycsb.cpp")
# Set project test source files.
set(TEST_SRC
"${TEST_SRC_PATH}/testConcurrentART.cpp"
"${TEST_SRC_PATH}/testART.cpp"
"${TEST_SRC_PATH}/testHashMap.cpp"
"${TEST_SRC_PATH}/testConcurrentMapUtils.cpp"
"${TEST_SRC_PATH}/testBtreeConcurrentMap.cpp"
"${TEST_SRC_PATH}/testBtreeMap.cpp"
"${TEST_SRC_PATH}/testBase.cpp"
"${TEST_SRC_PATH}/sha512.cpp")