ben18785 / MosquitoBorneDisease

A fully-tested opensource modelling environment for spatial mosquito ecology
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

MosquitoBorneDisease

Travis AppVeyor BCH compliance codecov Documentation

todo: add information about the software.

System requirements

  1. A modern C++ compiler. This project is currently tested against
  2. CMake 3.6 or newer

Basic usage

Linux and MacOS

# Obtain the source code
git clone https://github.com/ben18785/MosquitoBorneDisease.git

# Create a build directory
mkdir /path/to/build/dir
cd /path/to/build/dir

# Configure project with CMake, build with make, and run tests with CTest
cmake /path/to/source/dir
make 
ctest

Windows

  1. Install Visual Studio (Community edition is free for open source contributors)
  2. Obtain the source code for this repository
To build from Visual Studio
  1. File | Open | CMake... and select this repository's CMakeLists.txt. CMake will run automatically.
  2. You can build and run executables in a number of ways, for instance by right-clicking on CMakeLists.txt in the solution explorer and:
    • Build | mbd_test.exe
    • Run Tests
To build from the command prompt
  1. Open Developer Command Prompt for VS 20XX and navigate to this repository
    
    # Create a build directory
    mkdir /path/to/build/dir
    cd /path/to/build/dir

Configure and build project with CMake, and run tests with CTest

cmake -G Ninja /path/to/source/dir cmake --build . ctest