Code version Orio cookie. A project template for a new C++17 based exe using Meson build system and Conan package manager.
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.
- 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.
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. |
- 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.
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>
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>
Meson provides native support for running tests. The command to do that is simple.
meson test -C <build dir name> --num-processes
Installing the built software with Meson is just as simple as.
meson install -C <build dir name>
==========================
- gmail : squidfarts gmail
- email : squidfarts email