Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about updating copyright notes to the manual #601

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/creating-new/create/cmake.rst
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,10 @@ Download release archive and calculate ``SHA1``:
Add this information to ``cmake/projects/hunter_box_1/hunter.cmake`` file:

.. code-block:: cmake
:emphasize-lines: 10, 12, 14, 16
:emphasize-lines: 1, 13, 15, 17, 19

# Copyright (c) 2016-2020, Rahul Sheth, Ruslan Baratov
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be 2022 at the least. Perhaps it is better to insert <your-name-here> or some kind of placeholder so that contributors can put their names on the list.

# All rights reserved.

# !!! DO NOT PLACE HEADER GUARDS HERE !!!

Expand Down Expand Up @@ -402,7 +405,8 @@ Create example
[hunter]> sed -i 's,foo,hunter_box_1,g' examples/hunter_box_1/*

Tweak all files in ``examples/hunter_box_1`` directory to fit headers and
names of imported targets.
names of imported targets. Don't forget to update the copyright notices in
``examples/hunter_box_1/CMakeLists.txt`` with the current year and your name.

Add documentation
=================
Expand Down