summaryrefslogtreecommitdiffstats
path: root/Modules/Internal/CheckCompilerFlag.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Check{Compiler,Linker}Flag: Add possibility to retrieve check outputsMarc Chevrier2022-01-191-0/+8
|
* internal/CheckCompilerFlag: rely on common configurationMarc Chevrier2022-01-141-64/+4
| | | | | Extract configuration step from the CheckCompilerFlag command to enable to share it with future CheckLinkerFlag implementation
* Merge topic 'check_cxx_compiler_flag_no_normal_variable'Brad King2021-07-081-1/+0
|\ | | | | | | | | | | | | 018d300ca0 Check*CompilerFlag: Do not set result as a normal variable too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6318
| * Check*CompilerFlag: Do not set result as a normal variable tooRobert Maynard2021-07-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | This was previously fixed by commit d46590910c (Check*CompilerFlag: Do not set result as a normal variable too, 2020-09-21, v3.18.3~1^2^2), but was regressed by refactoring in commit 90dead024c (CheckCompilerFlag: unified way to check compiler flags per language, 2020-09-25, v3.19.0-rc1~88^2) due to the changes being developed concurrently. Fix it again, and add a test case. Fixes: #21207
* | CheckCompilerFlag: Handle -Werror= for GCC 11Marc Aldorasi2021-06-171-2/+4
| |
* | HIP: Add HIP to all the Check* modulesRobert Maynard2021-06-071-0/+3
|/
* Check*: Tolerate variables set with names of languagesBrad King2020-11-251-7/+7
| | | | | | | | | | | | Fix the language checks added by commit 90dead024c (CheckCompilerFlag: unified way to check compiler flags per language, 2020-09-25, v3.19.0-rc1~88^2), commit 10ae907de0 (CheckSoureCompiles: Add a unified way to check if a source compiles, 2020-09-14, v3.19.0-rc1~118^2~1), and commit 357e2ef429 (CheckSoureRuns: Add a unified way to check if a source runs, 2020-09-14, v3.19.0-rc1~118^2) to work when variables of the language names are set. Fixes: #21500
* Modules: Do not implicitly add new functions via old Check ModulesRobert Maynard2020-10-261-0/+79
The conversion of Check<Lang>CompilerFlag, SourceCompiles, and SourceRuns over to the new functions has the possibility of breaking projects that had functions with those existing names. To reduce the possibility of collisions we now have all the legacy code call functions that start with `cmake_`, and users will need to explicitly include the new modules to get the non-prefixed versions Fixes: #21359