-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
33 lines (29 loc) · 2.06 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
cmake_minimum_required(VERSION 2.8.9)
project(StackedAlternatingAMQs CXX)
set(CMAKE_CXX_FLAGS " -O3 -Wall -Wextra")
#Bring the headers, such as Student.h into the project
include_directories(
${PROJECT_SOURCE_DIR}/include/StackedFilter
${PROJECT_SOURCE_DIR}/include/QuotientFilter
${PROJECT_SOURCE_DIR}/include/CuckooFilter
${PROJECT_SOURCE_DIR}/include/BloomFilter
${PROJECT_SOURCE_DIR}/include/Optimization
)
#However, the file(GLOB...) allows for wildcard additions:
file(GLOB all_SRCS
"${PROJECT_SOURCE_DIR}/include/QuotientFilter/*.cpp"
)
add_executable(ZipfGraphsDataGenerator "${PROJECT_SOURCE_DIR}/Main/ZipfGraphsDataGenerator.cpp" ${all_SRCS})
add_executable(ZipfGraphsDataGeneratorDiskVersion "${PROJECT_SOURCE_DIR}/Main/ZipfGraphsDataGeneratorDiskVersion.cpp" ${all_SRCS})
add_executable(FirehoseDataGenerator "${PROJECT_SOURCE_DIR}/Main/FirehoseDataGeneratorDiskVersion.cpp" ${all_SRCS})
add_executable(FirehoseDataGeneratorDiskVersion "${PROJECT_SOURCE_DIR}/Main/FirehoseDataGenerator.cpp" ${all_SRCS})
add_executable(URLBlacklistingDiskVersion "${PROJECT_SOURCE_DIR}/Main/URULBlacklistingDiskVersion.cpp" ${all_SRCS})
add_executable(ZipfDiskVersionAdaptive "${PROJECT_SOURCE_DIR}/Main/ZipfDiskVersionAdaptive.cpp" ${all_SRCS})
add_executable(ZipfDiskVersionAdaptiveStages "${PROJECT_SOURCE_DIR}/Main/ZipfDiskVersionAdaptiveStages.cpp" ${all_SRCS})
add_executable(CQFDataGenerator "${PROJECT_SOURCE_DIR}/Main/CQFDataGenerator.cpp" ${all_SRCS})
add_executable(CuckooDataGenerator "${PROJECT_SOURCE_DIR}/Main/CuckooDataGenerator.cpp" ${all_SRCS})
add_executable(InsertsDataGenerator "${PROJECT_SOURCE_DIR}/Main/InsertsDataGenerator.cpp" ${all_SRCS})
add_executable(InsertsDataGenerator2 "${PROJECT_SOURCE_DIR}/Main/OneBitAdjustmentDataGenerator.cpp" ${all_SRCS})
add_executable(URLBlacklisting "${PROJECT_SOURCE_DIR}/Main/URLBlacklisting.cpp" ${all_SRCS})
add_executable(UniformDataGenerator "${PROJECT_SOURCE_DIR}/Main/UniformDataGenerator.cpp" ${all_SRCS})
add_executable(Example "${PROJECT_SOURCE_DIR}/Main/Example.cpp" ${all_SRCS})