# CheckIncludeFiles

Provides a macro to check if a list of one or more header files can be included together in `C`.

`CHECK_INCLUDE_FILES`

      CHECK_INCLUDE_FILES("<includes>" <variable>)

  Check if the given `<includes>` list may be included together in a `C` source file and store the result in an internal cache entry named `<variable>`. Specify the `<includes>` argument as a ;-list of header file names.

The following variables may be set before calling this macro to modify the way the check is run:

`CMAKE_REQUIRED_FLAGS`
  string of compile command line flags
`CMAKE_REQUIRED_DEFINITIONS`
  list of macros to define (-DFOO=bar)
`CMAKE_REQUIRED_INCLUDES`
  list of include directories
`CMAKE_REQUIRED_QUIET`
  execute quietly without messages

See modules `CheckIncludeFile` and `CheckIncludeFileCXX` to check for a single header file in `C` or `CXX` languages.