CMakeLists.txt 461 Bytes
Newer Older
1
cmake_minimum_required(VERSION 3.8)
2
3
4
5
6
7
8

project(PAPYRUS)

set(PAPYRUS_VERSION_MAJOR 1)
set(PAPYRUS_VERSION_MINOR 0)
set(PAPYRUS_VERSION_PATCH 0)

9
10
11
12
13
14
15
16
17
find_package(MPI REQUIRED)
if("${MPI_C_COMPILER}")
    set(CMAKE_C_COMPILER "${MPI_C_COMPILER}")
endif()
if("${MPI_CXX_COMPILER}")
    set(CMAKE_CXX_COMPILER "${MPI_CXX_COMPILER}")
endif()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
18
19
20
21
22

include(CTest)

add_subdirectory(include)
add_subdirectory(kv)