GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - FeignClaims/cpp_conan_template: A C++ CMake template using Conan

BranchesTags
Open more actions menu

Latest commit

 

History

118 Commits
118 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
cmake
cmake
 
 
conan/profiles
conan/profiles
 
 
fuzz_test
fuzz_test
 
 
sample_app
sample_app
 
 
sample_header_only_lib
sample_header_only_lib
 
 
sample_lib
sample_lib
 
 
script
script
 
 
.clang-format
.clang-format
 
 
.clang-tidy
.clang-tidy
 
 
.clangd
.clangd
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README_dependencies.md
README_dependencies.md
 
 
README_references.md
README_references.md
 
 
README_structure.md
README_structure.md
 
 
README_usage.md
README_usage.md
 
 
codecov.yml
codecov.yml
 
 
conanfile.py
conanfile.py
 
 

Repository files navigation

cpp_conan_template

ci codecov CodeQL

Write your own conan profile and conanfile, then use cmake with the generated toochians.

⚠️ support for docker images dose NOT complete yet!

About cpp_conan_template

This is a cmake template using conan 2.0 for setting up and running with C++ quickly.

This repository highly depends on aminya/project_options, which improves the CMake experience a lot.

It includes:

  • a basic example on how to manage dependencies using conan and use it simply
  • an example github action testing working on Linux/MacOS/Windows
  • examples for testing using catchorg/Catch2

It requires:

  • cmake 3.25+
  • conan 2.0.15+
  • a C++ compiler that supports C++20.
  • (optional) ccache
  • (optional) clang-tidy
  • (optional) clang-format
  • (optional) cppcheck

Getting Started

Use the Github template

First, click the green Use this template button near the top of this page. This will take you to Github's 'Generate Repository' page. Fill in a repository name and short description, and click 'Create repository from template'. This will allow you to create a new repository in your Github account, prepopulated with the contents of this project.

Now you can clone the project locally and get to work!

git clone https://github.com/<user>/<your_new_repo>.git

Docs

  • Dependencies Setup
  • Usage
  • File Structure
  • Useful References

More Details

This repository highly depends on aminya/project_options, which improves the CMake experience a lot.

I learnt CMake from scrach using Modern CMake for C++.

For conan 2.0, here is the official documentation.

About

A C++ CMake template using Conan

Topics

cmakecmake-templateconancppprojectstarterstarter-project

Resources

Readme
Unlicense
Activity

Stars

6 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.