From aa1134796c1d4003dbdf9dc92a1b7d00598f67ce Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Thu, 21 Sep 2017 13:35:50 +0200 Subject: Initial commit. --- CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4b4c13e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 2.8.8) + +project(lapdog) + +find_package(MPI REQUIRED) +include_directories(${MPI_INCLUDE_PATH}) +link_directories(${MPI_LIBRARIES}) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MPI_COMPILE_FLAGS} -Wall -pedantic -Wextra -std=c++14") +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${MPI_LINK_FLAGS}") + +add_subdirectory(src) -- cgit v1.2.3