From 8d216e07690df322a348c0ec7310b3e44fef3d78 Mon Sep 17 00:00:00 2001 From: YL Wang <121748352+code4yonglei@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:04:32 +0200 Subject: [PATCH] include the tips-and-tricks episode --- content/tips-and-tricks.rst | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 content/tips-and-tricks.rst diff --git a/content/tips-and-tricks.rst b/content/tips-and-tricks.rst new file mode 100644 index 0000000..35f6a9c --- /dev/null +++ b/content/tips-and-tricks.rst @@ -0,0 +1,30 @@ +.. _tips-and-tricks: + + +Tips and tricks using CMake +============================ + + +.. objectives:: + + - Learn what tools exist to structure projects as they grow. + - Discuss the value of localizing scope and avoiding side effects. + - Recognize more maintainable and less maintainable patterns. + + +As projects grow, code structures get more complicated: more possibilities, more corner cases, more options to users, and more developers who are contributing and may not oversee the entire CMake structure. In this episode we will mention a couple of tools to bring some structure and flow-control into larger projects. [#adapt_from_CR]_ + + + + + + + + + + + +.. rubric:: Footnotes + +.. [#adapt_from_CR] This episode is adapted, with permission, from the `CodeRefinery CMake lesson `_. +