summaryrefslogtreecommitdiffstats
path: root/Modules/CheckOBJCXXSourceCompiles.cmake
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.github.com>2024-08-13 16:38:05 (GMT)
committerMichael Hirsch <scivision@users.noreply.github.com>2024-08-16 02:27:17 (GMT)
commit5d42177a06124357dd637f970bc393de6c853d74 (patch)
treea3416286c895726193e6d91195fa90210285117d /Modules/CheckOBJCXXSourceCompiles.cmake
parent2904ce00d2ed6ad5dac6d3459af62d8223e06ce0 (diff)
downloadCMake-5d42177a06124357dd637f970bc393de6c853d74.zip
CMake-5d42177a06124357dd637f970bc393de6c853d74.tar.gz
CMake-5d42177a06124357dd637f970bc393de6c853d74.tar.bz2
Help: Check*SourceCompiles, Check*CompilerFlag refer to new command
The CheckSourceCompiles and CheckCompilerFlag would generally be preferred general command syntax, but users may not realize they exist, so help point them there.
Diffstat (limited to 'Modules/CheckOBJCXXSourceCompiles.cmake')
-rw-r--r--Modules/CheckOBJCXXSourceCompiles.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CheckOBJCXXSourceCompiles.cmake b/Modules/CheckOBJCXXSourceCompiles.cmake
index 4a18c21..af3ffde 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