Make wxStandardPaths::IgnoreAppBuildSubDirs() more permissive

Add some common architecture-dependent directories to the list of
subdirectories that should be ignored.

For Win32 the directory name x86 is also common.

For Win64 the directory names Win64 and x86_64 are frequently in use,
too.

Closes https://github.com/wxWidgets/wxWidgets/pull/2233
This commit is contained in:
utelle
2021-02-14 22:59:23 +01:00
committed by Vadim Zeitlin
parent ae9b55712d
commit 62a760c225

View File

@@ -261,10 +261,13 @@ void wxStandardPaths::IgnoreAppBuildSubDirs()
// there can also be an architecture-dependent parent directory, ignore it
// as well
#ifdef __WIN64__
IgnoreAppSubDir("Win64");
IgnoreAppSubDir("x64");
IgnoreAppSubDir("x86_64");
IgnoreAppSubDir("ARM64");
#else // __WIN32__
IgnoreAppSubDir("Win32");
IgnoreAppSubDir("x86");
#endif // __WIN64__/__WIN32__
wxString compilerPrefix;