1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-01 06:30:52 +02:00

update readme

This commit is contained in:
Lars Melchior 2020-04-14 13:39:14 +02:00
parent 500d028c8f
commit 93d0fe795c

View file

@ -15,7 +15,8 @@ This template is a collection from learnings of previous projects and should all
## Features ## Features
- Modern CMake practices - Modern CMake practices
- Suited for single header libraries and larger projects - Suited for single header libraries and projects of any scale
- Separation into library and executable code
- Integrated test suite - Integrated test suite
- Continuous integration via [GitHub Actions](https://help.github.com/en/actions/) - Continuous integration via [GitHub Actions](https://help.github.com/en/actions/)
- Code coverage via [codecov](https://codecov.io) - Code coverage via [codecov](https://codecov.io)
@ -27,12 +28,14 @@ This template is a collection from learnings of previous projects and should all
### Adjust the template to your needs ### Adjust the template to your needs
- Use this repo [as a template](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) and replace all occurrences of "Greeter" in [both](test/CMakeLists.txt) [CMakeLists.txt](CMakeLists.txt) with the name of your project - Use this repo [as a template](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) and replace all occurrences of "Greeter" in the relevant CMakeLists.txt with the name of your project
- Replace the source files with your own - Replace the source files with your own
- For single-header libraries: see the comments in [CMakeLists.txt](CMakeLists.txt) - For single-header libraries: see the comments in [CMakeLists.txt](CMakeLists.txt)
- Add your project's codecov token to your project's github secrets under `CODECOV_TOKEN` - Add your project's codecov token to your project's github secrets under `CODECOV_TOKEN`
- Happy coding! - Happy coding!
Remember to eventually remove any unused files, such as the standalone directory or irrelevant tests for your project.
### Build and run the standalone target ### Build and run the standalone target
Use the following command to build and run the executable target. Use the following command to build and run the executable target.