From f0a7db816031ddfa1a42c60fc3886816395c7b4f Mon Sep 17 00:00:00 2001 From: craffael Date: Wed, 24 Aug 2022 22:25:31 +0200 Subject: [PATCH 1/3] Add note about updating copyright notes --- docs/creating-new/create/cmake.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/creating-new/create/cmake.rst b/docs/creating-new/create/cmake.rst index 5d8e4f9753..ffa681acec 100644 --- a/docs/creating-new/create/cmake.rst +++ b/docs/creating-new/create/cmake.rst @@ -275,7 +275,9 @@ 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, 12, 14, 16, 18 + # Copyright (c) 2016-2020, Rahul Sheth, Ruslan Baratov + # All rights reserved. # !!! DO NOT PLACE HEADER GUARDS HERE !!! @@ -402,7 +404,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 your name. Add documentation ================= From c869423bf1f07d7eff2ff0ee82d4d4660bebf177 Mon Sep 17 00:00:00 2001 From: Raffael Casagrande Date: Wed, 24 Aug 2022 22:43:32 +0200 Subject: [PATCH 2/3] small bugfixes --- docs/creating-new/create/cmake.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/creating-new/create/cmake.rst b/docs/creating-new/create/cmake.rst index ffa681acec..b1e670c2ce 100644 --- a/docs/creating-new/create/cmake.rst +++ b/docs/creating-new/create/cmake.rst @@ -275,7 +275,8 @@ Download release archive and calculate ``SHA1``: Add this information to ``cmake/projects/hunter_box_1/hunter.cmake`` file: .. code-block:: cmake - :emphasize-lines: 1, 12, 14, 16, 18 + :emphasize-lines: 1, 13, 15, 17, 19 + # Copyright (c) 2016-2020, Rahul Sheth, Ruslan Baratov # All rights reserved. @@ -405,7 +406,7 @@ Create example Tweak all files in ``examples/hunter_box_1`` directory to fit headers and names of imported targets. Don't forget to update the copyright notices in -`examples/hunter_box_1/CMakeLists.txt` with your name. +``examples/hunter_box_1/CMakeLists.txt`` with your name. Add documentation ================= From 8a13b49e31cc0bf40ab8b3fa788f7dabe79cbe13 Mon Sep 17 00:00:00 2001 From: craffael Date: Thu, 25 Aug 2022 10:41:27 +0200 Subject: [PATCH 3/3] Update docs/creating-new/create/cmake.rst Co-authored-by: NeroBurner --- docs/creating-new/create/cmake.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/creating-new/create/cmake.rst b/docs/creating-new/create/cmake.rst index b1e670c2ce..06de86db12 100644 --- a/docs/creating-new/create/cmake.rst +++ b/docs/creating-new/create/cmake.rst @@ -406,7 +406,7 @@ Create example Tweak all files in ``examples/hunter_box_1`` directory to fit headers and names of imported targets. Don't forget to update the copyright notices in -``examples/hunter_box_1/CMakeLists.txt`` with your name. +``examples/hunter_box_1/CMakeLists.txt`` with the current year and your name. Add documentation =================