cpp-best-practices/cmake_template
소개
C++ 모범 사례를 위한 CMake
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +1
- in 1 month
- +5
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalcmake_template
About cmake_template
This is a C++ Best Practices GitHub template for getting up and running with C++ quickly.
By default (when building as the top-level project)
- Address Sanitizer and Undefined Behavior Sanitizer enabled where possible
- Warnings as errors
- clang-tidy and cppcheck static analysis
- CPM for dependencies
It includes
- a basic CLI example
- examples for fuzz, unit, and constexpr testing
- large GitHub action testing matrix
- WebAssembly build support with automatic GitHub Pages deployment
Live Demo: If you enable GitHub Pages in your project created from this template, you'll have a working example like this:
- Main: https://cpp-best-practices.github.io/cmake_template/
- Develop: https://cpp-best-practices.github.io/cmake_template/develop/
The main branch deploys to the root, develop to /develop/, and tags to /tagname/.
It requires
- cmake
- a compiler
This project gets you started with a simple example of using FTXUI, which happens to also be a game.
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.
After creating the project please wait until the cleanup workflow has finished setting up your project and committed the changes.
Now you can clone the project locally and get to work!
git clone https://github.com/<user>/<your_new_repo>.git
More Details
Testing
See Catch2 tutorial
Fuzz testing
관련 프로젝트 살펴보기
불러오는 중…