From f0fce646dbdce6c4b5b71decbced311f32b6ce9a Mon Sep 17 00:00:00 2001 From: YL Wang <121748352+code4yonglei@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:03:34 +0200 Subject: [PATCH] update typos in the targets episode --- content/additional-topics.rst | 1 - content/targets.rst | 28 ++++++++++++++-------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/content/additional-topics.rst b/content/additional-topics.rst index a13771a..d2238fe 100644 --- a/content/additional-topics.rst +++ b/content/additional-topics.rst @@ -28,7 +28,6 @@ These topics include: - Summary of `Intro to CMake` --------------------------- diff --git a/content/targets.rst b/content/targets.rst index 8b7f1a4..86e0c2d 100644 --- a/content/targets.rst +++ b/content/targets.rst @@ -99,20 +99,20 @@ Why it is robust to use targets and properties than using variables? Given a tar In this demo, we split the source code into 3 libraries and all files are available in the ``content/code/04_visibility-levels/`` folder. - .. code-block:: bash - - . - ├── CMakeLists.txt - ├── greeting - │   ├── greeting.cpp - │   └── greeting.hpp - ├── hello_world - │   ├── hello_world.cpp - │   └── hello_world.hpp - ├── main.cpp - └── world - ├── world.cpp - └── world.hpp + .. code-block:: text + + . + ├── CMakeLists.txt + ├── greeting + │ ├── greeting.cpp + │ └── greeting.hpp + ├── hello_world + │ ├── hello_world.cpp + │ └── hello_world.hpp + ├── main.cpp + └── world + ├── world.cpp + └── world.hpp In this source code, the main function links to greeting which links to hello_world which links to world.