Skip to content

Commit

Permalink
update typos in the targets episode
Browse files Browse the repository at this point in the history
  • Loading branch information
code4yonglei committed Sep 27, 2024
1 parent 0b14011 commit f0fce64
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
1 change: 0 additions & 1 deletion content/additional-topics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ These topics include:




Summary of `Intro to CMake`
---------------------------

Expand Down
28 changes: 14 additions & 14 deletions content/targets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 114 in content/targets.rst

View workflow job for this annotation

GitHub Actions / Build

Unexpected indentation.
└── world.hpp


In this source code, the main function links to greeting which links to hello_world which links to world.
Expand Down

0 comments on commit f0fce64

Please sign in to comment.