diff options
author | Joachim Wuttke (o) <j.wuttke@fz-juelich.de> | 2018-10-25 11:34:27 (GMT) |
---|---|---|
committer | Joachim Wuttke (o) <j.wuttke@fz-juelich.de> | 2018-10-25 11:47:31 (GMT) |
commit | adbaadf0eef855aeb043babceae67e324b69fef0 (patch) | |
tree | cafc762ddcd625ba840242484da0d3ffe3a226f2 /Help/command/add_subdirectory.rst | |
parent | 2459b5e8324ced6435a12fedf98067a0d9fac5f1 (diff) | |
download | CMake-adbaadf0eef855aeb043babceae67e324b69fef0.zip CMake-adbaadf0eef855aeb043babceae67e324b69fef0.tar.gz CMake-adbaadf0eef855aeb043babceae67e324b69fef0.tar.bz2 |
Help: Apply syntax highlighting to project commands
* Replace most "::" by ".. code-block:: cmake"
* Header sentence in imperative voice,
detailed command description in present tense.
Diffstat (limited to 'Help/command/add_subdirectory.rst')
-rw-r--r-- | Help/command/add_subdirectory.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/command/add_subdirectory.rst b/Help/command/add_subdirectory.rst index 012ded4..8dba986 100644 --- a/Help/command/add_subdirectory.rst +++ b/Help/command/add_subdirectory.rst @@ -3,12 +3,11 @@ add_subdirectory Add a subdirectory to the build. -:: +.. code-block:: cmake - add_subdirectory(source_dir [binary_dir] - [EXCLUDE_FROM_ALL]) + add_subdirectory(source_dir [binary_dir] [EXCLUDE_FROM_ALL]) -Add a subdirectory to the build. The source_dir specifies the +Adds a subdirectory to the build. The source_dir specifies the directory in which the source CMakeLists.txt and code files are located. If it is a relative path it will be evaluated with respect to the current directory (the typical usage), but it may also be an |