A template to quickly start a new project
MIT License
new-project
templateA template to start up a new C++ project with the support for:
This repository contains the following independent cmake
-based projects:
./src
- header-only project for units
.
- project used for development needs that wraps ./src
project together with./test_package
- library installation and Conan package verificationPlease note that the projects depend on cmake
git submodule in the ./cmake/common
subdirectory.
For a detailed information on project compilation, testing and reuse please refer to doc/INSTALL.md.
mp
with the project namespace name inCMakeLists.txt
filesINSTALL.md
new-project
with new project name in all CMakeLists.txt
files and quickly startbuild.py
with proper packaging dataOption | Default | Values | Description |
---|---|---|---|
shared | False | [True, False] | Generates shared library |
fPIC | True | [True, False] | Generates position-independent code |
Option | Default | Values | Travis CI | AppVeyor | Description |
---|---|---|---|---|---|
CONAN_RUN_TESTS | False | [True, False] | True | True | Enables compilation of all the tests and examples. Runs unit tests during Conan build |