From 9edb5f57127489dec4b7cbdc1e60920e6002abea Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 12 Jun 2022 16:13:22 +0200 Subject: API dox: use more markup for code or commandline samples NO_CHANGELOG --- modules/ECMOptionalAddSubdirectory.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/ECMOptionalAddSubdirectory.cmake') 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() -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_. @@ -20,7 +20,7 @@ BUILD_. 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 -- cgit v1.2.1