diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake index 27b7ae8797..696f7a3245 100644 --- a/Modules/CheckCCompilerFlag.cmake +++ b/Modules/CheckCCompilerFlag.cmake @@ -27,6 +27,8 @@ rather than performing the check again, even if the ```` changes. In order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. +See also :command:`check_compiler_flag` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_compiler_flag()`` diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake index c01b6cffee..801cf17716 100644 --- a/Modules/CheckCSourceCompiles.cmake +++ b/Modules/CheckCSourceCompiles.cmake @@ -28,6 +28,8 @@ Check once if C source code can be built. ``STATIC_LIBRARY``, the source is compiled but not linked. In any case, all functions must be declared as usual. + See also :command:`check_source_compiles` for a more general command syntax. + See also :command:`check_source_runs` to run compiled source. The compile and link commands can be influenced by setting any of the diff --git a/Modules/CheckCSourceRuns.cmake b/Modules/CheckCSourceRuns.cmake index e06bcca6fe..1275da549e 100644 --- a/Modules/CheckCSourceRuns.cmake +++ b/Modules/CheckCSourceRuns.cmake @@ -27,6 +27,8 @@ subsequently be run. order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. + See also :command:`check_source_runs` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_c_source_runs()``: diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake index 61ed640d03..90cd488d0c 100644 --- a/Modules/CheckCXXCompilerFlag.cmake +++ b/Modules/CheckCXXCompilerFlag.cmake @@ -21,6 +21,8 @@ A positive result from this check indicates only that the compiler did not issue a diagnostic message when given the flag. Whether the flag has any effect or even a specific one is beyond the scope of this module. +See also :command:`check_compiler_flag` for a more general command syntax. + .. note:: Since the :command:`try_compile` command forwards flags from variables like :variable:`CMAKE_CXX_FLAGS _FLAGS>`, unknown flags diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake index 7c03c4ac3f..c9616d8eec 100644 --- a/Modules/CheckCXXSourceCompiles.cmake +++ b/Modules/CheckCXXSourceCompiles.cmake @@ -28,6 +28,8 @@ Check once if C++ source code can be built. ``STATIC_LIBRARY``, the source is compiled but not linked. In any case, all functions must be declared as usual. + See also :command:`check_source_compiles` for a more general command syntax. + See also :command:`check_source_runs` to run compiled source. The compile and link commands can be influenced by setting any of the diff --git a/Modules/CheckCXXSourceRuns.cmake b/Modules/CheckCXXSourceRuns.cmake index eb643eb12a..8e84744708 100644 --- a/Modules/CheckCXXSourceRuns.cmake +++ b/Modules/CheckCXXSourceRuns.cmake @@ -27,6 +27,8 @@ subsequently be run. order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. + See also :command:`check_source_runs` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_cxx_source_runs()``: diff --git a/Modules/CheckFortranCompilerFlag.cmake b/Modules/CheckFortranCompilerFlag.cmake index 81a2345620..94090efc0c 100644 --- a/Modules/CheckFortranCompilerFlag.cmake +++ b/Modules/CheckFortranCompilerFlag.cmake @@ -29,6 +29,8 @@ rather than performing the check again, even if the ```` changes. In order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. +See also :command:`check_compiler_flag` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_compiler_flag()`` diff --git a/Modules/CheckFortranSourceCompiles.cmake b/Modules/CheckFortranSourceCompiles.cmake index 4cbe67ae3a..e9545abc52 100644 --- a/Modules/CheckFortranSourceCompiles.cmake +++ b/Modules/CheckFortranSourceCompiles.cmake @@ -30,6 +30,8 @@ Check once if Fortran source code can be built. ``SRC_EXT`` option can be used to override this with ``.`` instead-- ``.F90`` is a typical choice. + See also :command:`check_source_compiles` for a more general command syntax. + See also :command:`check_source_runs` to run compiled source. Internally, :command:`try_compile` is used to compile the source. If diff --git a/Modules/CheckFortranSourceRuns.cmake b/Modules/CheckFortranSourceRuns.cmake index 9bf9fb2ee2..9ead9c06a7 100644 --- a/Modules/CheckFortranSourceRuns.cmake +++ b/Modules/CheckFortranSourceRuns.cmake @@ -49,6 +49,8 @@ subsequently be run. order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. + See also :command:`check_source_runs` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_fortran_source_runs()``: diff --git a/Modules/CheckOBJCCompilerFlag.cmake b/Modules/CheckOBJCCompilerFlag.cmake index f6d259e6e3..f87949b500 100644 --- a/Modules/CheckOBJCCompilerFlag.cmake +++ b/Modules/CheckOBJCCompilerFlag.cmake @@ -29,6 +29,8 @@ rather than performing the check again, even if the ```` changes. In order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. +See also :command:`check_compiler_flag` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_compiler_flag()`` diff --git a/Modules/CheckOBJCSourceCompiles.cmake b/Modules/CheckOBJCSourceCompiles.cmake index c6e09db238..1158b91273 100644 --- a/Modules/CheckOBJCSourceCompiles.cmake +++ b/Modules/CheckOBJCSourceCompiles.cmake @@ -30,6 +30,8 @@ Check once if Objective-C source can be built. ``STATIC_LIBRARY``, the source is compiled but not linked. In any case, all functions must be declared as usual. + See also :command:`check_source_compiles` for a more general command syntax. + See also :command:`check_source_runs` to run compiled source. The compile and link commands can be influenced by setting any of the diff --git a/Modules/CheckOBJCSourceRuns.cmake b/Modules/CheckOBJCSourceRuns.cmake index 511cac6ac0..f2316ce9a4 100644 --- a/Modules/CheckOBJCSourceRuns.cmake +++ b/Modules/CheckOBJCSourceRuns.cmake @@ -29,6 +29,8 @@ subsequently be run. order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. + See also :command:`check_source_runs` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objc_source_runs()`` diff --git a/Modules/CheckOBJCXXCompilerFlag.cmake b/Modules/CheckOBJCXXCompilerFlag.cmake index 32d50c9df3..5091a7517b 100644 --- a/Modules/CheckOBJCXXCompilerFlag.cmake +++ b/Modules/CheckOBJCXXCompilerFlag.cmake @@ -29,6 +29,8 @@ rather than performing the check again, even if the ```` changes. In order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. +See also :command:`check_compiler_flag` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_compiler_flag()`` diff --git a/Modules/CheckOBJCXXSourceCompiles.cmake b/Modules/CheckOBJCXXSourceCompiles.cmake index 4a18c21346..af3ffde949 100644 --- a/Modules/CheckOBJCXXSourceCompiles.cmake +++ b/Modules/CheckOBJCXXSourceCompiles.cmake @@ -30,6 +30,8 @@ Check once if Objective-C++ source can be built. ``STATIC_LIBRARY``, the source is compiled but not linked. In any case, all functions must be declared as usual. + See also :command:`check_source_compiles` for a more general command syntax. + See also :command:`check_source_runs` to run compiled source. The compile and link commands can be influenced by setting any of the diff --git a/Modules/CheckOBJCXXSourceRuns.cmake b/Modules/CheckOBJCXXSourceRuns.cmake index 49db3cb8d5..4181113ef9 100644 --- a/Modules/CheckOBJCXXSourceRuns.cmake +++ b/Modules/CheckOBJCXXSourceRuns.cmake @@ -29,6 +29,8 @@ subsequently be run. order to force the check to be re-evaluated, the variable named by ```` must be manually removed from the cache. + See also :command:`check_source_runs` for a more general command syntax. + The compile and link commands can be influenced by setting any of the following variables prior to calling ``check_objcxx_source_runs()``