CheckIncludeFiles: Add LANGUAGE CXX option
Ported from CheckIncludeFiles.cmake
I wasn't sure whether to add any tests or update the documentation in CheckIncludeFile{,CXX,s}.
Topic-rename: CheckIncludeFiles-language-CXX
Merge request reports
Activity
- Resolved by Brad King
Rather than introducing a new module, we should add
LANGUAGE <lang>
option to the existing macro. This will be more extensible to other languages later (e.g. Fortran).This is done in
CheckTypeSize
,CheckStructHasMember
, andCheckIPOSupported
. The singularCheckIncludeFile
andCheckIncludeFileCXX
modules are only separate for historical reasons. The same change could be made toCheckIncludeFile
.
added workflow:wip label
added 1 commit
- c31e72c0 - Extend CheckIncludeFiles with LANGUAGE argument
added 1 commit
- 2348f252 - Extend CheckIncludeFiles with LANGUAGE argument
- Resolved by David Adam
Thanks. Please extend
Tests/RunCMake/CheckModules/RunCMakeTest.cmake
with cases covering this module.
assigned to @brad.king
changed milestone to %3.11.0