mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
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 `<resultVar>` argument, a more general description is used. - Few minor tweaks added.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
``CMAKE_REQUIRED_DEFINITIONS``
|
||||
A :ref:`;-list <CMake Language Lists>` of compiler definitions of the form
|
||||
``-DFOO`` or ``-DFOO=bar``. A definition for the name specified by
|
||||
``<resultVar>`` will also be added automatically.
|
||||
``CMAKE_REQUIRED_DEFINITIONS``
|
||||
A :ref:`semicolon-separated list <CMake Language Lists>` 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.
|
||||
|
||||
@@ -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 <CMake Language Lists>` will not work.
|
||||
The contents of :variable:`CMAKE_<LANG>_FLAGS <CMAKE_<LANG>_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 <CMake Language Lists>` will not work.
|
||||
The contents of :variable:`CMAKE_<LANG>_FLAGS` and its associated
|
||||
configuration-specific :variable:`CMAKE_<LANG>_FLAGS_<CONFIG>` variables
|
||||
are automatically prepended to the compiler command before the contents of
|
||||
this variable.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
``CMAKE_REQUIRED_INCLUDES``
|
||||
A :ref:`;-list <CMake Language Lists>` 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 <CMake Language Lists>` 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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
``CMAKE_REQUIRED_LIBRARIES``
|
||||
A :ref:`;-list <CMake Language Lists>` of libraries to add to the link
|
||||
command. These can be the name of system libraries or they can be
|
||||
:ref:`Imported Targets <Imported Targets>` (see :command:`try_compile` for
|
||||
further details).
|
||||
``CMAKE_REQUIRED_LIBRARIES``
|
||||
A :ref:`semicolon-separated list <CMake Language Lists>` 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).
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
``CMAKE_REQUIRED_LINK_DIRECTORIES``
|
||||
.. versionadded:: 3.31
|
||||
``CMAKE_REQUIRED_LINK_DIRECTORIES``
|
||||
.. versionadded:: 3.31
|
||||
|
||||
A :ref:`;-list <CMake Language Lists>` of libraries search paths to pass to
|
||||
the linker (see :command:`try_compile` for further details).
|
||||
A :ref:`semicolon-separated list <CMake Language Lists>` of library search
|
||||
paths to pass to the linker (see :command:`try_compile` for further
|
||||
details).
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
``CMAKE_REQUIRED_LINK_OPTIONS``
|
||||
.. versionadded:: 3.14
|
||||
``CMAKE_REQUIRED_LINK_OPTIONS``
|
||||
.. versionadded:: 3.14
|
||||
|
||||
A :ref:`;-list <CMake Language Lists>` of options to add to the link
|
||||
command (see :command:`try_compile` for further details).
|
||||
A :ref:`semicolon-separated list <CMake Language Lists>` of options to
|
||||
add to the link command (see :command:`try_compile` for further details).
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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::
|
||||
|
||||
|
||||
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
@@ -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
|
||||
^^^^^^^
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
^^^^^^^^
|
||||
|
||||
@@ -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
|
||||
|
||||
#]=======================================================================]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user