forked from cloud-olap/FlexPushdownDB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
60 lines (47 loc) · 1.96 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
cmake_minimum_required(VERSION 3.15)
project("normal" VERSION "${PROJECT_VERSION}" LANGUAGES C CXX)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_LIST_DIR}/cmake")
include(CMakeUtils)
setDefaults()
# Gandiva requires LLVM 7 and anything linking to it must use the same version
#if ((NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR (NOT CMAKE_CXX_COMPILER_VERSION MATCHES "7.*"))
# message(FATAL_ERROR "Illegal compiler - '${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}'.
# Gandiva requires Clang version 7")
#endif()
include(Configure_LLVM)
#-----------------------------------------------------------------------------------------------------------------------
# Dependencies
#-----------------------------------------------------------------------------------------------------------------------
set(DEPS_PREFIX "_deps")
include(External_spdlog)
include(External_doctest)
include(External_nanobench)
include(External_caf)
include(External_arrow)
include(External_AWSCPPSDK)
include(External_ANTLR)
include(External_graphviz)
include(External_expected)
include(External_fmt)
include(External_ssb_dbgen)
include(External_primesieve)
include(Dependency_SQLite3)
include(External_Backward)
include(External_CallableTraits)
#-----------------------------------------------------------------------------------------------------------------------
# Modules
#-----------------------------------------------------------------------------------------------------------------------
add_subdirectory(normal-util)
add_subdirectory(normal-core)
add_subdirectory(normal-tuple)
add_subdirectory(normal-connector)
add_subdirectory(normal-expression)
add_subdirectory(normal-expression-gandiva)
add_subdirectory(ATTIC/normal-expression-simple)
add_subdirectory(ATTIC/normal-expression-benchmark)
add_subdirectory(normal-plan)
add_subdirectory(normal-pushdown)
add_subdirectory(normal-sql)
add_subdirectory(ATTIC/normal-test)
add_subdirectory(normal-ssb)
add_subdirectory(normal-cache)