Browse Source

Merge topic 'Doc-use-lower-case-for-commands'

2116b3460b Help: Use lower-case style in documentation

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10124
Marc Chevrier 1 year ago
parent
commit
5da296b805

+ 2 - 2
Modules/CheckFortranFunctionExists.cmake

@@ -7,11 +7,11 @@ CheckFortranFunctionExists
 
 Check if a Fortran function exists.
 
-.. command:: CHECK_FORTRAN_FUNCTION_EXISTS
+.. command:: check_fortran_function_exists
 
   .. code-block:: cmake
 
-    CHECK_FORTRAN_FUNCTION_EXISTS(<function> <result>)
+    check_fortran_function_exists(<function> <result>)
 
   where
 

+ 2 - 2
Modules/CheckIncludeFile.cmake

@@ -7,11 +7,11 @@ CheckIncludeFile
 
 Provides a macro to check if a header file can be included in ``C``.
 
-.. command:: CHECK_INCLUDE_FILE
+.. command:: check_include_file
 
   .. code-block:: cmake
 
-    CHECK_INCLUDE_FILE(<include> <variable> [<flags>])
+    check_include_file(<include> <variable> [<flags>])
 
   Check if the given ``<include>`` file may be included in a ``C``
   source file and store the result in an internal cache entry named

+ 2 - 2
Modules/CheckIncludeFileCXX.cmake

@@ -7,11 +7,11 @@ CheckIncludeFileCXX
 
 Provides a macro to check if a header file can be included in ``CXX``.
 
-.. command:: CHECK_INCLUDE_FILE_CXX
+.. command:: check_include_file_cxx
 
   .. code-block:: cmake
 
-    CHECK_INCLUDE_FILE_CXX(<include> <variable> [<flags>])
+    check_include_file_cxx(<include> <variable> [<flags>])
 
   Check if the given ``<include>`` file may be included in a ``CXX``
   source file and store the result in an internal cache entry named

+ 2 - 2
Modules/CheckIncludeFiles.cmake

@@ -8,11 +8,11 @@ CheckIncludeFiles
 Provides a macro to check if a list of one or more header files can
 be included together.
 
-.. command:: CHECK_INCLUDE_FILES
+.. command:: check_include_files
 
   .. code-block:: cmake
 
-    CHECK_INCLUDE_FILES("<includes>" <variable> [LANGUAGE <language>])
+    check_include_files("<includes>" <variable> [LANGUAGE <language>])
 
   Check if the given ``<includes>`` list may be included together
   in a source file and store the result in an internal cache