CheckCompilerFlag: unified way to check compiler flags per language

This commit is contained in:
Robert Maynard
2020-09-25 14:58:18 -04:00
committed by Brad King
parent 0cd1ef0932
commit 90dead024c
9 changed files with 126 additions and 115 deletions

View File

@@ -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

View File

@@ -0,0 +1 @@
.. cmake-module:: ../../Modules/CheckCompilerFlag.cmake

View File

@@ -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.