Skip to content
/ cpp-project Public template

General project templet complete with Meson build system, Conan package manager. Includes CI services.

License

Notifications You must be signed in to change notification settings

squidfarts/cpp-project

Repository files navigation

C++ project template.


Code version Orio cookie. A project template for a new C++17 based exe using Meson build system and Conan package manager.

Projects current status


GitHub Travis Appveyor Codecov

Table of contents


About this project


C++ Project is a project that was designed to work out of the box using Meson build system and Conan package manager from day one. The creation of this started at a large codebase where the following languages are used to build programs C, C++, Dlang, Kotlin and Python.

The design of the project was meant for demonstrating a project using the GitHub workflow super charged with continues integration.

However to make something that can defend agains hackers planting malicious software attacks or feed of data stored in your database is mostly imposable and all that can be done is to mitigate the possibility of as many software attacks as posable.

Features found


  • Meson as the main tool for generating ninja build files.
  • Conan as the tool for managing and packaging.
  • Setup with Travis-ci Linux and Mac.
  • Setup with AppVeyor for Windows.
  • Setup with Codecov coverage.
  • Simple project structure just for you.
  • Distributed under the Apache 2.0 license.
  • Works 99.95% out of the box.

Downloading required things

This project requires the following tools:


Tool being used. Version needed
Meson build system version 0.50.0 or newer.
Conan package manager version 1.19.x or newer.
Python3 language version 3.5.x or newer.

Downloading this project.


  • To install this project the simplest way is to grab it off github with this command the Github command looks something like this:
git clone https://github.com/squidfarts/cpp-project.git
  • You can also download it as a zip if you prefer.

Building this executable.


Generating the build directory

Let us assume that we have a source tree that has a Meson build system. This means that at the topmost directory has a file called meson.build. We run the following commands to get the build started.

meson setup <build dir name>

Building from the source

Meson uses the Ninja build system to actually build the code. To start the build, simply type the following command.

ninja -C <build dir name>

Running test cases

Meson provides native support for running tests. The command to do that is simple.

meson test -C <build dir name> --num-processes

Installing the project

Installing the built software with Meson is just as simple as.

meson install -C <build dir name>

Contact the developer

==========================

Developer and maintainer

About

General project templet complete with Meson build system, Conan package manager. Includes CI services.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published