Skip to content
  • chuck cranor's avatar
    Compute implicit include directories from compiler output · 5990ecb7
    chuck cranor authored and Brad King's avatar Brad King committed
     - CMakeParseImplicitIncludeInfo.cmake: new parser that extracts the
       compiler's include path from verbose output.  If the parser cannot
       parse the output, we fall back to the old behavior.  On osx we skip
       over framework directories (handled elsewhere).
    
     - CMakeDetermineCompilerABI.cmake:
         - use verbose flag in try_compile for ${src}
         - use new cmake_parse_implicit_include_info() to attempt extract
           implicit include directory path and if successful set
            CMAKE_${LANG}_IMPLICIT_INCLUDE_DIRECTORIES
    
     - CMakeCCompiler.cmake.in and CMakeCXXCompiler.cmake.in - preserve
       CMAKE_${LANG}_IMPLICIT_INCLUDE_DIRECTORIES value between runs in
       the same way CMAKE_${LANG}_IMPLICIT_LINK_DIRECTORIES is preserved
    
     - Tests/RunCMake/ParseImplicitIncludeInfo: tests for parse
       based on the older Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in.
       The test runs a set of verbose compiler outputs collected from
       various machines through t...
    5990ecb7