summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-24 19:12:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-24 19:12:59 (GMT)
commit7b38161ca146e8ff8c95dd0448c9a373c9349500 (patch)
treee813766463f32e818e83cd5b312fb727ffbd14c6 /Help
parent9aa93937f9bdf2b513684750ae129f2c251151cb (diff)
parent357e2ef429b5245de4f2f5fc7ba7b8089d90bb1c (diff)
downloadCMake-7b38161ca146e8ff8c95dd0448c9a373c9349500.zip
CMake-7b38161ca146e8ff8c95dd0448c9a373c9349500.tar.gz
CMake-7b38161ca146e8ff8c95dd0448c9a373c9349500.tar.bz2
Merge topic 'check-source-modules'
357e2ef429 CheckSoureRuns: Add a unified way to check if a source runs 10ae907de0 CheckSoureCompiles: Add a unified way to check if a source compiles f5c928f73c Add a test to verify '\' handling in CHECK_CXX_SOURCE_COMPILES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5223
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-modules.7.rst2
-rw-r--r--Help/module/CheckSourceCompiles.rst1
-rw-r--r--Help/module/CheckSourceRuns.rst1
-rw-r--r--Help/release/dev/check-source-modules.rst10
4 files changed, 14 insertions, 0 deletions
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst
index 50131e8..d364198 100644
--- a/Help/manual/cmake-modules.7.rst
+++ b/Help/manual/cmake-modules.7.rst
@@ -45,6 +45,8 @@ These modules are loaded using the :command:`include` command.
/module/CheckOBJCXXSourceRuns
/module/CheckPIESupported
/module/CheckPrototypeDefinition
+ /module/CheckSourceCompiles
+ /module/CheckSourceRuns
/module/CheckStructHasMember
/module/CheckSymbolExists
/module/CheckTypeSize
diff --git a/Help/module/CheckSourceCompiles.rst b/Help/module/CheckSourceCompiles.rst
new file mode 100644
index 0000000..906db0a
--- /dev/null
+++ b/Help/module/CheckSourceCompiles.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckSourceCompiles.cmake
diff --git a/Help/module/CheckSourceRuns.rst b/Help/module/CheckSourceRuns.rst
new file mode 100644
index 0000000..d469244
--- /dev/null
+++ b/Help/module/CheckSourceRuns.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckSourceRuns.cmake
diff --git a/Help/release/dev/check-source-modules.rst b/Help/release/dev/check-source-modules.rst
new file mode 100644
index 0000000..9a7785a
--- /dev/null
+++ b/Help/release/dev/check-source-modules.rst
@@ -0,0 +1,10 @@
+check-source-modules
+^^^^^^^^^^^^^^^^^^^^
+
+* The :module:`CheckSourceCompiles` module has been added to
+ generalize :module:`CheckCSourceCompiles` and
+ :module:`CheckCXXSourceCompiles` to more languages.
+
+* The :module:`CheckSourceRuns` module has been added to
+ generalize :module:`CheckCSourceRuns` and
+ :module:`CheckCXXSourceRuns` to more languages.