CMakeLists.txt 615 Bytes
Newer Older
jlopez's avatar
jlopez committed
1
2
3
4
5
cmake_minimum_required(VERSION 3.8)
project(Population)

set(CMAKE_CXX_STANDARD 11)

jlopez's avatar
jlopez committed
6
set(SOURCE_FILES src/main.cpp src/sources/Population.cpp src/headers/Population.h src/sources/Parameters.cpp src/headers/Parameters.h src/sources/GMatrix.cpp src/headers/GMatrix.h src/sources/GRandom.cpp src/headers/GRandom.h src/headers/Utils.h src/sources/DynamicSave.cpp src/headers/DynamicSave.h src/sources/Rescuers.cpp src/headers/Rescuers.h src/sources/InputParser.cpp src/headers/InputParser.h)
jlopez's avatar
jlopez committed
7
8
9
add_executable(Population ${SOURCE_FILES})

find_package(GSL REQUIRED)
jlopez's avatar
jlopez committed
10
target_link_libraries(Population libgsl.a libgslcblas.a)