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:
parent
91153e3c21
commit
a1eb63b359
1 changed files with 3 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue