Skip to content

Commit

Permalink
remove $ in the bash command lines in rst files
Browse files Browse the repository at this point in the history
  • Loading branch information
code4yonglei committed Oct 1, 2024
1 parent 8c8ab61 commit 8c9ee01
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions content/cmake-syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ These are either CMake- or user-defined variables. You can obtain the list of CM

.. code-block:: bash
$ cmake --help-variable-list
cmake --help-variable-list
You can create a new variable with the ``set`` command:

Expand Down Expand Up @@ -90,7 +90,7 @@ Help on a specific built-in variable can be obtained with:

.. code-block:: bash
$ cmake --help-variable PROJECT_BINARY_DIR
cmake --help-variable PROJECT_BINARY_DIR
Expand All @@ -104,7 +104,7 @@ You can find a complete list of available commands with:

.. code-block:: bash
$ cmake --help-command-list
cmake --help-command-list
**Functions** and **macros** are built on top of the basic built-in commands and are either CMake- or user-defined. These prove useful to avoid repetition in your CMake scripts.
Expand All @@ -119,7 +119,7 @@ Help on a specific built-in command, function or macro can be obtained with:

.. code-block:: bash
$ cmake --help-command target_link_libraries
cmake --help-command target_link_libraries
Expand All @@ -140,13 +140,13 @@ The full list of built-in modules is available with:

.. code-block:: bash
$ cmake --help-module-list
cmake --help-module-list
Help on a specific built-in module can be obtained with:

.. code-block:: bash
$ cmake --help-module CMakePrintHelpers
cmake --help-module CMakePrintHelpers
Expand Down
2 changes: 1 addition & 1 deletion content/code/01_producing-libraries/fortran/message.f90
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module messaging

public Messenger
type Messenger
character(len=19) :: message_
character(len=32) :: message_
end type

public print_message
Expand Down
Binary file modified content/code/01_producing-libraries/fortran/messaging.mod
Binary file not shown.
4 changes: 2 additions & 2 deletions content/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ If you can assess to the Dardel cluster, you can follow the instructions below t

.. code-block:: bash
$ git clone https://github.com/ENCCS/intro-cmake.git
$ cd intro-cmake/content/code/
git clone https://github.com/ENCCS/intro-cmake.git
cd intro-cmake/content/code/
- Following the steps in hand-on exercises to run the code examples.

Expand Down

0 comments on commit 8c9ee01

Please sign in to comment.