Xcode: Disable header maps

This makes the Xcode build's way of locating headers be similar to other compilers.
The header maps feature means you can include any header in the project just by the filename,
but none of the other supported build systems allow this, requiring a full path relative
to the src directory.

By disabling header maps, Xcode will give an error if you miss the file path
(unless including a file in the same directory).
This commit is contained in:
Celtic Minstrel 2022-07-07 22:05:33 -04:00
parent 91153e3c21
commit a1eb63b359

View file

@ -6441,6 +6441,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SYSTEM_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/Headers";
USE_HEADERMAP = NO;
WARNING_CFLAGS = (
"-Werror=format",
"-Werror=missing-braces",
@ -7020,6 +7021,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SYSTEM_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/Headers";
USE_HEADERMAP = NO;
};
name = Debug;
};
@ -7063,6 +7065,7 @@
SDKROOT = macosx;
SKIP_INSTALL = YES;
SYSTEM_HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/Headers";
USE_HEADERMAP = NO;
WARNING_CFLAGS = (
"-Werror=format",
"-Werror=missing-braces",