-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (25 loc) · 896 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
25
26
27
28
29
30
31
32
# CMakeLists files in this project can
# refer to the root source directory of the project as ${HELLO_SOURCE_DIR} and
# to the root binary directory of the project as ${HELLO_BINARY_DIR}.
cmake_minimum_required(VERSION 3.0)
project(palkia)
# for clang's compile_commands.json
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
# Glog
add_subdirectory(src/vendor/googlelog)
include_directories(${GLOG_INCLUDE_DIRS})
link_directories(${GLOG_LINK_DIRS})
# ibverbs
find_package(ibverbs REQUIRED)
include_directories(${IBVERBS_INCLUDE_DIRS})
link_directories(${IBVERBS_LIB_DIR})
# dialga
add_subdirectory(src/dialga)
include_directories(include)
add_subdirectory(src/palkia)
add_subdirectory(src/palkia_service)
add_subdirectory(app/stage1)
add_subdirectory(app/bench)