Skip to content

Commit

Permalink
Update templated components for using template
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Mar 5, 2022
1 parent 9411b57 commit cebf822
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[![ci](https://github.com/%%myorg%%/%%myproject%%/actions/workflows/ci.yml/badge.svg)](https://github.com/%%myorg%%/%%myproject%%/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/%%myorg%%/%%myproject%%/branch/main/graph/badge.svg)](https://codecov.io/gh/%%myorg%%/%%myproject%%)
[![CodeQL](https://github.com/%%myorg%%/%%myproject%%/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/%%myorg%%/%%myproject%%/actions/workflows/codeql-analysis.yml)

LGTM Has to be set up manually after template is created:

[![Language grade: C++](https://img.shields.io/lgtm/grade/cpp/github/%%myorg%%/%%myproject%%)](https://lgtm.com/projects/g/%%myorg%%/%%myproject%%/context:cpp)

## About %%myproject%%
Expand All @@ -13,4 +17,4 @@
* [Dependency Setup](README_dependencies.md)
* [Building Details](README_building.md)
* [Troubleshooting](README_troubleshooting.md)
* [Docker](README_docker.md)
* [Docker](README_docker.md)
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ include(${_project_options_SOURCE_DIR}/Index.cmake)
project(
myproject
VERSION 0.0.1
DESCRIPTION "Starter Project With Best Practices for C++"
HOMEPAGE_URL "https://github.com/cpp-best-practices/cpp_boilerplate_project"
DESCRIPTION "%%description%%"
HOMEPAGE_URL "https://github.com/%%myorg%%/%%myproject%%"
LANGUAGES CXX C)

set(GIT_SHA
Expand Down Expand Up @@ -132,7 +132,8 @@ endif()
# set the startup project for the "play" button in MSVC
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT intro)

# Add other targets that you want installed here, also
# Add other targets that you want installed here, be default we just package the one executable
# we know we want to ship
package_project(TARGETS intro)

# Experience shows that explicit package naming can help make it easier to sort
Expand Down

0 comments on commit cebf822

Please sign in to comment.