CMakeLists.txt 570 Bytes
Newer Older
1
cmake_minimum_required(VERSION 3.1)
2
3
project(load_leveller)

4
5
6
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

7
find_package(MPI REQUIRED)
8
9
10
11
find_package(fmt REQUIRED)
find_package(HDF5 REQUIRED)

set(CMAKE_CXX_STANDARD 17)
12
13
14
15
16
17
18
19
20

set(SRCs
	dump.cpp
	evalable.cpp
	measurements.cpp 
	observable.cpp
	parser.cpp
	random.cpp
	runner.cpp
21
	merger.cpp
22
	mc.cpp
23
	runner_single.cpp
24
	runner_task.cpp
25
	results.cpp
26
27
)

Lukas Weber's avatar
test    
Lukas Weber committed
28
add_library(load_leveller ${SRCs})
29
target_link_libraries(load_leveller PUBLIC MPI::MPI_CXX fmt::fmt)
30
install(FILES load_leveller.h DESTINATION include)