-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (34 loc) · 967 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
33
34
35
36
37
38
39
cmake_minimum_required (VERSION 2.8)
project (rsv_model)
set(CMAKE_C_COMPILER "gcc")
set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(GCC_COVERAGE_COMPILE_FLAGS "-fsyntax-only")
set(BOOST_ROOT "/home/lshdh2/rsv_trans_model/lib/boost_1_64_0")
set(BOOST_INCLUDE_DIRS "${BOOST_ROOT}/include")
set(BOOST_LIBRARY_DIRS "${BOOST_ROOT}/lib")
set(Boost_NO_SYSTEM_PATHS on CACHE BOOL "Do not search system for Boost" )
set(APPEND CMAKE_PREFIX_PATH ${BOOST_ROOT})
message("BOOST_ROOT is ${BOOST_ROOT}")
include_directories(
headers
${BOOST_LIBRARY_DIRS}
${BOOST_INCLUDE_DIRS}
)
add_executable(
rsv_model
src/pre.h
src/epmgp.h
src/cea.h
src/interventions.h
src/mcmc.h
src/model.h
src/outcomes.h
src/writing.h
src/main.cpp
)
target_link_libraries(
rsv_model
)