aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMOptionalAddSubdirectory.cmake
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2022-06-12 16:13:22 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2022-06-12 18:27:40 +0200
commit9edb5f57127489dec4b7cbdc1e60920e6002abea (patch)
tree712d3aaeb2d5caa9adc80f2c6e1e4412b54efb97 /modules/ECMOptionalAddSubdirectory.cmake
parent0ec7ce6f1e2b5b1c914897e7a58f62835cc27ce5 (diff)
downloadextra-cmake-modules-9edb5f57127489dec4b7cbdc1e60920e6002abea.tar.gz
extra-cmake-modules-9edb5f57127489dec4b7cbdc1e60920e6002abea.tar.bz2
API dox: use more markup for code or commandline samples
NO_CHANGELOG
Diffstat (limited to 'modules/ECMOptionalAddSubdirectory.cmake')
-rw-r--r--modules/ECMOptionalAddSubdirectory.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ECMOptionalAddSubdirectory.cmake b/modules/ECMOptionalAddSubdirectory.cmake
index 0eeb1d41..68142086 100644
--- a/modules/ECMOptionalAddSubdirectory.cmake
+++ b/modules/ECMOptionalAddSubdirectory.cmake
@@ -12,7 +12,7 @@ Make subdirectories optional.
ecm_optional_add_subdirectory(<dir>)
-This behaves like add_subdirectory(), except that it does not complain if the
+This behaves like ``add_subdirectory()``, except that it does not complain if the
directory does not exist. Additionally, if the directory does exist, it
creates an option to allow the user to skip it. The option will be named
BUILD_<dir>.
@@ -20,7 +20,7 @@ BUILD_<dir>.
This is useful for "meta-projects" that combine several mostly-independent
sub-projects.
-If the CMake variable DISABLE_ALL_OPTIONAL_SUBDIRECTORIES is set to TRUE for
+If the CMake variable ``DISABLE_ALL_OPTIONAL_SUBDIRECTORIES`` is set to ``TRUE`` for
the first CMake run on the project, all optional subdirectories will be
disabled by default (but can of course be enabled via the respective options).
For example, the following will disable all optional subdirectories except the