| @@ -869,12 +869,12 @@ macro (cotire_find_closest_relative_path _headerFile _includeDirs _relPathVar) | |||||
| endforeach() | endforeach() | ||||
| endmacro() | endmacro() | ||||
| macro (cotire_check_header_file_location _headerFile _insideIncudeDirs _outsideIncudeDirs _headerIsInside) | |||||
| macro (cotire_check_header_file_location _headerFile _insideIncludeDirs _outsideIncludeDirs _headerIsInside) | |||||
| # check header path against ignored and honored include directories | # check header path against ignored and honored include directories | ||||
| cotire_find_closest_relative_path("${_headerFile}" "${_insideIncudeDirs}" _insideRelPath) | |||||
| cotire_find_closest_relative_path("${_headerFile}" "${_insideIncludeDirs}" _insideRelPath) | |||||
| if (_insideRelPath) | if (_insideRelPath) | ||||
| # header is inside, but could be become outside if there is a shorter outside match | # header is inside, but could be become outside if there is a shorter outside match | ||||
| cotire_find_closest_relative_path("${_headerFile}" "${_outsideIncudeDirs}" _outsideRelPath) | |||||
| cotire_find_closest_relative_path("${_headerFile}" "${_outsideIncludeDirs}" _outsideRelPath) | |||||
| if (_outsideRelPath) | if (_outsideRelPath) | ||||
| string (LENGTH "${_insideRelPath}" _insideRelPathLen) | string (LENGTH "${_insideRelPath}" _insideRelPathLen) | ||||
| string (LENGTH "${_outsideRelPath}" _outsideRelPathLen) | string (LENGTH "${_outsideRelPath}" _outsideRelPathLen) | ||||
| @@ -949,7 +949,7 @@ macro (cotire_parse_line _line _headerFileVar _headerDepthVar) | |||||
| endif() | endif() | ||||
| endmacro() | endmacro() | ||||
| function (cotire_parse_includes _language _scanOutput _ignoredIncudeDirs _honoredIncudeDirs _ignoredExtensions _selectedIncludesVar _unparsedLinesVar) | |||||
| function (cotire_parse_includes _language _scanOutput _ignoredIncludeDirs _honoredIncludeDirs _ignoredExtensions _selectedIncludesVar _unparsedLinesVar) | |||||
| if (WIN32) | if (WIN32) | ||||
| # prevent CMake macro invocation errors due to backslash characters in Windows paths | # prevent CMake macro invocation errors due to backslash characters in Windows paths | ||||
| string (REPLACE "\\" "/" _scanOutput "${_scanOutput}") | string (REPLACE "\\" "/" _scanOutput "${_scanOutput}") | ||||
| @@ -969,11 +969,11 @@ function (cotire_parse_includes _language _scanOutput _ignoredIncudeDirs _honore | |||||
| if (_ignoredExtensions) | if (_ignoredExtensions) | ||||
| message (STATUS "Ignored extensions: ${_ignoredExtensions}") | message (STATUS "Ignored extensions: ${_ignoredExtensions}") | ||||
| endif() | endif() | ||||
| if (_ignoredIncudeDirs) | |||||
| message (STATUS "Ignored paths: ${_ignoredIncudeDirs}") | |||||
| if (_ignoredIncludeDirs) | |||||
| message (STATUS "Ignored paths: ${_ignoredIncludeDirs}") | |||||
| endif() | endif() | ||||
| if (_honoredIncudeDirs) | |||||
| message (STATUS "Included paths: ${_honoredIncudeDirs}") | |||||
| if (_honoredIncludeDirs) | |||||
| message (STATUS "Included paths: ${_honoredIncludeDirs}") | |||||
| endif() | endif() | ||||
| endif() | endif() | ||||
| set (_sourceFiles ${ARGN}) | set (_sourceFiles ${ARGN}) | ||||
| @@ -985,7 +985,7 @@ function (cotire_parse_includes _language _scanOutput _ignoredIncudeDirs _honore | |||||
| if (_line) | if (_line) | ||||
| cotire_parse_line("${_line}" _headerFile _headerDepth) | cotire_parse_line("${_line}" _headerFile _headerDepth) | ||||
| if (_headerFile) | if (_headerFile) | ||||
| cotire_check_header_file_location("${_headerFile}" "${_ignoredIncudeDirs}" "${_honoredIncudeDirs}" _headerIsInside) | |||||
| cotire_check_header_file_location("${_headerFile}" "${_ignoredIncludeDirs}" "${_honoredIncludeDirs}" _headerIsInside) | |||||
| if (COTIRE_DEBUG) | if (COTIRE_DEBUG) | ||||
| message (STATUS "${_headerDepth}: ${_headerFile} ${_headerIsInside}") | message (STATUS "${_headerDepth}: ${_headerFile} ${_headerIsInside}") | ||||
| endif() | endif() | ||||