summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-29 09:44:54 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-29 09:45:07 (GMT)
commit0021d24fb3fa8ca6ec16f5b6f44952cc375d499f (patch)
treeed9bf21351b9f7266f80d29c4e5795f358100333 /Help
parentce6f085f31a094c26d98b873a42bf7a5aa8f5e9d (diff)
parent90dead024c5adee57e5ea3f3c90aed297d41ce3a (diff)
downloadCMake-0021d24fb3fa8ca6ec16f5b6f44952cc375d499f.zip
CMake-0021d24fb3fa8ca6ec16f5b6f44952cc375d499f.tar.gz
CMake-0021d24fb3fa8ca6ec16f5b6f44952cc375d499f.tar.bz2
Merge topic 'add_lang_agnostic_check_compile_flag_module'
90dead024c CheckCompilerFlag: unified way to check compiler flags per language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5281
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-modules.7.rst1
-rw-r--r--Help/module/CheckCompilerFlag.rst1
-rw-r--r--Help/release/dev/check-source-modules.rst4
3 files changed, 6 insertions, 0 deletions
diff --git a/Help/manual/cmake-modules.7.rst b/Help/manual/cmake-modules.7.rst
index d364198..14af149 100644
--- a/Help/manual/cmake-modules.7.rst
+++ b/Help/manual/cmake-modules.7.rst
@@ -45,6 +45,7 @@ These modules are loaded using the :command:`include` command.
/module/CheckOBJCXXSourceRuns
/module/CheckPIESupported
/module/CheckPrototypeDefinition
+ /module/CheckCompilerFlag
/module/CheckSourceCompiles
/module/CheckSourceRuns
/module/CheckStructHasMember
diff --git a/Help/module/CheckCompilerFlag.rst b/Help/module/CheckCompilerFlag.rst
new file mode 100644
index 0000000..bcf19a8
--- /dev/null
+++ b/Help/module/CheckCompilerFlag.rst
@@ -0,0 +1 @@
+.. cmake-module:: ../../Modules/CheckCompilerFlag.cmake
diff --git a/Help/release/dev/check-source-modules.rst b/Help/release/dev/check-source-modules.rst
index 9a7785a..e6cccbe 100644
--- a/Help/release/dev/check-source-modules.rst
+++ b/Help/release/dev/check-source-modules.rst
@@ -8,3 +8,7 @@ check-source-modules
* The :module:`CheckSourceRuns` module has been added to
generalize :module:`CheckCSourceRuns` and
:module:`CheckCXXSourceRuns` to more languages.
+
+* The :module:`CheckCompilerFlag` module has been added to
+ generalize :module:`CheckCCompilerFlag` and
+ :module:`CheckCXXCompilerFlag` to more languages.