From 7cfc111df36e3b13c7c75af5240476eee7ac5d40 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 14 May 2025 18:37:05 +0200 Subject: [PATCH] Help: Update CMAKE_REQUIRED_* variables for checks This moves indentation of the included RST files to the initial level and instead indents the include directives where used. Additionally: - Instead of ";-list", "semicolon-separated list" is used. - Instead of mentioning `` argument, a more general description is used. - Few minor tweaks added. --- .../include/CMAKE_REQUIRED_DEFINITIONS.rst | 9 +++++---- Help/module/include/CMAKE_REQUIRED_FLAGS.rst | 13 +++++++------ .../module/include/CMAKE_REQUIRED_INCLUDES.rst | 9 +++++---- .../include/CMAKE_REQUIRED_LIBRARIES.rst | 10 +++++----- .../CMAKE_REQUIRED_LINK_DIRECTORIES.rst | 9 +++++---- .../include/CMAKE_REQUIRED_LINK_OPTIONS.rst | 8 ++++---- Help/module/include/CMAKE_REQUIRED_QUIET.rst | 8 ++++---- Modules/CheckCCompilerFlag.cmake | 14 +++++++------- Modules/CheckCSourceCompiles.cmake | 14 +++++++------- Modules/CheckCSourceRuns.cmake | 14 +++++++------- Modules/CheckCXXCompilerFlag.cmake | 14 +++++++------- Modules/CheckCXXSourceCompiles.cmake | 14 +++++++------- Modules/CheckCXXSourceRuns.cmake | 14 +++++++------- Modules/CheckCXXSymbolExists.cmake | 14 +++++++------- Modules/CheckCompilerFlag.cmake | 14 +++++++------- Modules/CheckFortranCompilerFlag.cmake | 14 +++++++------- Modules/CheckFortranFunctionExists.cmake | 6 +++--- Modules/CheckFortranSourceCompiles.cmake | 14 +++++++------- Modules/CheckFortranSourceRuns.cmake | 14 +++++++------- Modules/CheckFunctionExists.cmake | 14 +++++++------- Modules/CheckIncludeFile.cmake | 14 +++++++------- Modules/CheckIncludeFileCXX.cmake | 14 +++++++------- Modules/CheckIncludeFiles.cmake | 14 +++++++------- Modules/CheckLibraryExists.cmake | 12 ++++++------ Modules/CheckOBJCCompilerFlag.cmake | 14 +++++++------- Modules/CheckOBJCSourceCompiles.cmake | 14 +++++++------- Modules/CheckOBJCSourceRuns.cmake | 14 +++++++------- Modules/CheckOBJCXXCompilerFlag.cmake | 14 +++++++------- Modules/CheckOBJCXXSourceCompiles.cmake | 14 +++++++------- Modules/CheckOBJCXXSourceRuns.cmake | 14 +++++++------- Modules/CheckPrototypeDefinition.cmake | 14 +++++++------- Modules/CheckSourceCompiles.cmake | 14 +++++++------- Modules/CheckSourceRuns.cmake | 14 +++++++------- Modules/CheckStructHasMember.cmake | 14 +++++++------- Modules/CheckSymbolExists.cmake | 14 +++++++------- Modules/CheckTypeSize.cmake | 18 +++++++++--------- Modules/CheckVariableExists.cmake | 10 +++++----- 37 files changed, 240 insertions(+), 236 deletions(-) diff --git a/Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst b/Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst index 17289c378a..03b5124e49 100644 --- a/Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst +++ b/Help/module/include/CMAKE_REQUIRED_DEFINITIONS.rst @@ -1,4 +1,5 @@ - ``CMAKE_REQUIRED_DEFINITIONS`` - A :ref:`;-list ` of compiler definitions of the form - ``-DFOO`` or ``-DFOO=bar``. A definition for the name specified by - ```` will also be added automatically. +``CMAKE_REQUIRED_DEFINITIONS`` + A :ref:`semicolon-separated list ` of compiler + definitions, each of the form ``-DFOO`` or ``-DFOO=bar``. A definition for + the name specified by the result variable argument of the check + command is also added automatically. diff --git a/Help/module/include/CMAKE_REQUIRED_FLAGS.rst b/Help/module/include/CMAKE_REQUIRED_FLAGS.rst index 80ae23999b..24ac0b6d0f 100644 --- a/Help/module/include/CMAKE_REQUIRED_FLAGS.rst +++ b/Help/module/include/CMAKE_REQUIRED_FLAGS.rst @@ -1,6 +1,7 @@ - ``CMAKE_REQUIRED_FLAGS`` - String of additional flags to pass to the compiler. The string must be - space-delimited--a :ref:`;-list ` will not work. - The contents of :variable:`CMAKE__FLAGS _FLAGS>` and - its associated configuration-specific variable are automatically added - to the compiler command before the contents of ``CMAKE_REQUIRED_FLAGS``. +``CMAKE_REQUIRED_FLAGS`` + A space-separated string of additional flags to pass to the compiler. + A :ref:`semicolon-separated list ` will not work. + The contents of :variable:`CMAKE__FLAGS` and its associated + configuration-specific :variable:`CMAKE__FLAGS_` variables + are automatically prepended to the compiler command before the contents of + this variable. diff --git a/Help/module/include/CMAKE_REQUIRED_INCLUDES.rst b/Help/module/include/CMAKE_REQUIRED_INCLUDES.rst index c8993bbfce..f0d14fa1e4 100644 --- a/Help/module/include/CMAKE_REQUIRED_INCLUDES.rst +++ b/Help/module/include/CMAKE_REQUIRED_INCLUDES.rst @@ -1,4 +1,5 @@ - ``CMAKE_REQUIRED_INCLUDES`` - A :ref:`;-list ` of header search paths to pass to - the compiler. These will be the only header search paths used--the contents - of the :prop_dir:`INCLUDE_DIRECTORIES` directory property will be ignored. +``CMAKE_REQUIRED_INCLUDES`` + A :ref:`semicolon-separated list ` of header + search paths to pass to the compiler. These will be the only header + search paths used; the contents of the :prop_dir:`INCLUDE_DIRECTORIES` + directory property will be ignored. diff --git a/Help/module/include/CMAKE_REQUIRED_LIBRARIES.rst b/Help/module/include/CMAKE_REQUIRED_LIBRARIES.rst index 8611b9edf6..15ffd0018c 100644 --- a/Help/module/include/CMAKE_REQUIRED_LIBRARIES.rst +++ b/Help/module/include/CMAKE_REQUIRED_LIBRARIES.rst @@ -1,5 +1,5 @@ - ``CMAKE_REQUIRED_LIBRARIES`` - A :ref:`;-list ` of libraries to add to the link - command. These can be the name of system libraries or they can be - :ref:`Imported Targets ` (see :command:`try_compile` for - further details). +``CMAKE_REQUIRED_LIBRARIES`` + A :ref:`semicolon-separated list ` of libraries to + add to the link command. These can be the names of system libraries, or + they can be :ref:`Imported Targets` (see :command:`try_compile` for further + details). diff --git a/Help/module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst b/Help/module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst index 35f433b7b8..5557cb38d3 100644 --- a/Help/module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst +++ b/Help/module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst @@ -1,5 +1,6 @@ - ``CMAKE_REQUIRED_LINK_DIRECTORIES`` - .. versionadded:: 3.31 +``CMAKE_REQUIRED_LINK_DIRECTORIES`` + .. versionadded:: 3.31 - A :ref:`;-list ` of libraries search paths to pass to - the linker (see :command:`try_compile` for further details). + A :ref:`semicolon-separated list ` of library search + paths to pass to the linker (see :command:`try_compile` for further + details). diff --git a/Help/module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst b/Help/module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst index f2a2474374..9a37fef08a 100644 --- a/Help/module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst +++ b/Help/module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst @@ -1,5 +1,5 @@ - ``CMAKE_REQUIRED_LINK_OPTIONS`` - .. versionadded:: 3.14 +``CMAKE_REQUIRED_LINK_OPTIONS`` + .. versionadded:: 3.14 - A :ref:`;-list ` of options to add to the link - command (see :command:`try_compile` for further details). + A :ref:`semicolon-separated list ` of options to + add to the link command (see :command:`try_compile` for further details). diff --git a/Help/module/include/CMAKE_REQUIRED_QUIET.rst b/Help/module/include/CMAKE_REQUIRED_QUIET.rst index aae8059f6d..874812a453 100644 --- a/Help/module/include/CMAKE_REQUIRED_QUIET.rst +++ b/Help/module/include/CMAKE_REQUIRED_QUIET.rst @@ -1,5 +1,5 @@ - ``CMAKE_REQUIRED_QUIET`` - .. versionadded:: 3.1 +``CMAKE_REQUIRED_QUIET`` + .. versionadded:: 3.1 - If this variable evaluates to a boolean true value, all status messages - associated with the check will be suppressed. + If this variable evaluates to a boolean true value, all status messages + associated with the check will be suppressed. diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake index eb1d78b896..9f7b179cb3 100644 --- a/Modules/CheckCCompilerFlag.cmake +++ b/Modules/CheckCCompilerFlag.cmake @@ -33,19 +33,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake index 690345ea6d..c7a281d4b0 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake @@ -35,19 +35,19 @@ Check once if C source code can be built. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_source_compiles()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckCSourceRuns.cmake b/Modules/CheckCSourceRuns.cmake index d7303f1974..84f6e04ac3 100644 --- a/Modules/CheckCSourceRuns.cmake +++ b/Modules/CheckCSourceRuns.cmake @@ -28,19 +28,19 @@ subsequently be run. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_source_runs()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake index 6338c7cf14..4e179f7662 100644 --- a/Modules/CheckCXXCompilerFlag.cmake +++ b/Modules/CheckCXXCompilerFlag.cmake @@ -33,19 +33,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_cxx_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] include_guard(GLOBAL) diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake index 567520b2e4..46ec942f2e 100644 --- a/Modules/CheckCXXSourceCompiles.cmake +++ b/Modules/CheckCXXSourceCompiles.cmake @@ -35,19 +35,19 @@ Check once if C++ source code can be built. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_cxx_source_compiles()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckCXXSourceRuns.cmake b/Modules/CheckCXXSourceRuns.cmake index 2ff98f57cf..2d5d0cfdc6 100644 --- a/Modules/CheckCXXSourceRuns.cmake +++ b/Modules/CheckCXXSourceRuns.cmake @@ -28,19 +28,19 @@ subsequently be run. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_cxx_source_runs()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckCXXSymbolExists.cmake b/Modules/CheckCXXSymbolExists.cmake index 0a1480943f..490d97c8de 100644 --- a/Modules/CheckCXXSymbolExists.cmake +++ b/Modules/CheckCXXSymbolExists.cmake @@ -41,19 +41,19 @@ Check if a symbol exists as a function, variable, or macro in ``C++``. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst For example: diff --git a/Modules/CheckCompilerFlag.cmake b/Modules/CheckCompilerFlag.cmake index f692bbe6a9..a5c308dff0 100644 --- a/Modules/CheckCompilerFlag.cmake +++ b/Modules/CheckCompilerFlag.cmake @@ -33,19 +33,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckFortranCompilerFlag.cmake b/Modules/CheckFortranCompilerFlag.cmake index 6ec3b7ed15..695e4fa693 100644 --- a/Modules/CheckFortranCompilerFlag.cmake +++ b/Modules/CheckFortranCompilerFlag.cmake @@ -35,19 +35,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckFortranFunctionExists.cmake b/Modules/CheckFortranFunctionExists.cmake index ba5f9894e1..09b33628ec 100644 --- a/Modules/CheckFortranFunctionExists.cmake +++ b/Modules/CheckFortranFunctionExists.cmake @@ -29,11 +29,11 @@ Check if a Fortran function exists. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst #]=======================================================================] include_guard(GLOBAL) diff --git a/Modules/CheckFortranSourceCompiles.cmake b/Modules/CheckFortranSourceCompiles.cmake index 668aaaea19..33585635f1 100644 --- a/Modules/CheckFortranSourceCompiles.cmake +++ b/Modules/CheckFortranSourceCompiles.cmake @@ -43,19 +43,19 @@ Check once if Fortran source code can be built. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_source_compiles()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckFortranSourceRuns.cmake b/Modules/CheckFortranSourceRuns.cmake index bf4f5f90e0..2f63b37045 100644 --- a/Modules/CheckFortranSourceRuns.cmake +++ b/Modules/CheckFortranSourceRuns.cmake @@ -41,19 +41,19 @@ subsequently be run. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_source_runs()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake index ae3084513e..98b58b10d1 100644 --- a/Modules/CheckFunctionExists.cmake +++ b/Modules/CheckFunctionExists.cmake @@ -19,19 +19,19 @@ Check once if a C function can be linked from system libraries. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst .. note:: diff --git a/Modules/CheckIncludeFile.cmake b/Modules/CheckIncludeFile.cmake index b053e3d077..bb46cf4ddc 100644 --- a/Modules/CheckIncludeFile.cmake +++ b/Modules/CheckIncludeFile.cmake @@ -21,19 +21,19 @@ Provides a macro to check if a header file can be included in ``C``. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^ diff --git a/Modules/CheckIncludeFileCXX.cmake b/Modules/CheckIncludeFileCXX.cmake index ed4e031717..d065f97ae8 100644 --- a/Modules/CheckIncludeFileCXX.cmake +++ b/Modules/CheckIncludeFileCXX.cmake @@ -21,19 +21,19 @@ Provides a macro to check if a header file can be included in ``CXX``. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^ diff --git a/Modules/CheckIncludeFiles.cmake b/Modules/CheckIncludeFiles.cmake index 954d47a098..c91f65aa85 100644 --- a/Modules/CheckIncludeFiles.cmake +++ b/Modules/CheckIncludeFiles.cmake @@ -27,19 +27,19 @@ be included together. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^ diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index da242a1997..246a32fcb4 100644 --- a/Modules/CheckLibraryExists.cmake +++ b/Modules/CheckLibraryExists.cmake @@ -25,17 +25,17 @@ a library. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^ diff --git a/Modules/CheckOBJCCompilerFlag.cmake b/Modules/CheckOBJCCompilerFlag.cmake index 8d9e78db96..84cfeaa0fb 100644 --- a/Modules/CheckOBJCCompilerFlag.cmake +++ b/Modules/CheckOBJCCompilerFlag.cmake @@ -35,19 +35,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckOBJCSourceCompiles.cmake b/Modules/CheckOBJCSourceCompiles.cmake index ce89fc4dbd..74b1ac6ca5 100644 --- a/Modules/CheckOBJCSourceCompiles.cmake +++ b/Modules/CheckOBJCSourceCompiles.cmake @@ -37,19 +37,19 @@ Check once if Objective-C source can be built. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_source_compiles()`` -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckOBJCSourceRuns.cmake b/Modules/CheckOBJCSourceRuns.cmake index 3484c5862e..268765f103 100644 --- a/Modules/CheckOBJCSourceRuns.cmake +++ b/Modules/CheckOBJCSourceRuns.cmake @@ -30,19 +30,19 @@ can subsequently be run. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_source_runs()`` -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckOBJCXXCompilerFlag.cmake b/Modules/CheckOBJCXXCompilerFlag.cmake index 691f5aaef8..5562fa4e02 100644 --- a/Modules/CheckOBJCXXCompilerFlag.cmake +++ b/Modules/CheckOBJCXXCompilerFlag.cmake @@ -35,19 +35,19 @@ The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_compiler_flag()``. Unknown flags in these variables can case a false negative result. -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckOBJCXXSourceCompiles.cmake b/Modules/CheckOBJCXXSourceCompiles.cmake index 4f9f7d401a..e74a6e100b 100644 --- a/Modules/CheckOBJCXXSourceCompiles.cmake +++ b/Modules/CheckOBJCXXSourceCompiles.cmake @@ -37,19 +37,19 @@ Check once if Objective-C++ source can be built. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_source_compiles()`` -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckOBJCXXSourceRuns.cmake b/Modules/CheckOBJCXXSourceRuns.cmake index acdee34317..eec663bde3 100644 --- a/Modules/CheckOBJCXXSourceRuns.cmake +++ b/Modules/CheckOBJCXXSourceRuns.cmake @@ -30,19 +30,19 @@ and can subsequently be run. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_source_runs()`` -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckPrototypeDefinition.cmake b/Modules/CheckPrototypeDefinition.cmake index 63daabffc0..21585d54fa 100644 --- a/Modules/CheckPrototypeDefinition.cmake +++ b/Modules/CheckPrototypeDefinition.cmake @@ -44,19 +44,19 @@ Check if a ``C`` function has the expected prototype. The following variables may be set before calling this function to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Examples ^^^^^^^^ diff --git a/Modules/CheckSourceCompiles.cmake b/Modules/CheckSourceCompiles.cmake index 734b0d3d2c..f225516a61 100644 --- a/Modules/CheckSourceCompiles.cmake +++ b/Modules/CheckSourceCompiles.cmake @@ -66,19 +66,19 @@ Check once if source code can be built for a given language. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_source_compiles()``: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckSourceRuns.cmake b/Modules/CheckSourceRuns.cmake index fcce30d83c..e86ef9bfda 100644 --- a/Modules/CheckSourceRuns.cmake +++ b/Modules/CheckSourceRuns.cmake @@ -52,19 +52,19 @@ subsequently be run. The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_source_runs()`` -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================] diff --git a/Modules/CheckStructHasMember.cmake b/Modules/CheckStructHasMember.cmake index 58b519dda6..2bfb0b2a86 100644 --- a/Modules/CheckStructHasMember.cmake +++ b/Modules/CheckStructHasMember.cmake @@ -30,19 +30,19 @@ Check if the given struct or class has the specified member variable The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst Example ^^^^^^^ diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake index 72a7e1b068..ddf1700f83 100644 --- a/Modules/CheckSymbolExists.cmake +++ b/Modules/CheckSymbolExists.cmake @@ -31,19 +31,19 @@ If the check needs to be done in C++, consider using The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst For example: diff --git a/Modules/CheckTypeSize.cmake b/Modules/CheckTypeSize.cmake index e2db8708b6..8a9ff2c701 100644 --- a/Modules/CheckTypeSize.cmake +++ b/Modules/CheckTypeSize.cmake @@ -68,22 +68,22 @@ member you can do something like this: The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst + .. include:: /module/include/CMAKE_REQUIRED_INCLUDES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_DIRECTORIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst -``CMAKE_EXTRA_INCLUDE_FILES`` - list of extra headers to include. + ``CMAKE_EXTRA_INCLUDE_FILES`` + list of extra headers to include. Examples ^^^^^^^^ diff --git a/Modules/CheckVariableExists.cmake b/Modules/CheckVariableExists.cmake index 0e4b89935d..a33b76b92d 100644 --- a/Modules/CheckVariableExists.cmake +++ b/Modules/CheckVariableExists.cmake @@ -21,15 +21,15 @@ Check if the variable exists. The following variables may be set before calling this macro to modify the way the check is run: -.. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst + .. include:: /module/include/CMAKE_REQUIRED_FLAGS.rst -.. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_DEFINITIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst + .. include:: /module/include/CMAKE_REQUIRED_LINK_OPTIONS.rst -.. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst + .. include:: /module/include/CMAKE_REQUIRED_LIBRARIES.rst -.. include:: /module/include/CMAKE_REQUIRED_QUIET.rst + .. include:: /module/include/CMAKE_REQUIRED_QUIET.rst #]=======================================================================]