0c0c04b405
This issue originates from https://bugs.webkit.org/show_bug.cgi?id=95736 Suppose we have main.cpp somedirectory/someheader.h -- which has #include "anotherheader.h" anotherheader.h With unix generator, the directory where main.cpp is located is included, unless no_include_pwd is set. Hence the look-up of anotherheader.h from within someheader.h will work. With MSVC this works because MSVC looks "in the directories of any previously opened include files in the reverse order in which they were opened." (from http://msdn.microsoft.com/en-us/library/36k2cdd4.aspx) Unfortunately the build breaks with MinGW, because it lacks support for including the source directory in the include search path just like the unix generator does. This patch adds the same functionality to the MinGW generator as well as an auto-test. Change-Id: Iea8bb06e34862c51b8fd4eca2ee26668e24a319a Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com> Reviewed-by: Jonathan Liu <net147@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> |
||
---|---|---|
.. | ||
bundle-spaces | ||
comments | ||
duplicateLibraryEntries | ||
export_across_file_boundaries | ||
findDeps | ||
findMocs | ||
func_export | ||
func_variables | ||
functions | ||
include_dir | ||
include_dir_build | ||
include_function | ||
include_pwd | ||
install_depends | ||
one_space | ||
operators | ||
project | ||
prompt | ||
quotedfilenames | ||
shadow_files | ||
shadow_files_build | ||
simple_app | ||
simple_app_build | ||
simple_dll | ||
simple_lib | ||
subdir_via_pro_file_extra_target | ||
subdirs | ||
substitutes | ||
substitutes_build | ||
variables |