xcode4 sysincludedirs support update
* Use the new Xcode 9+ setting SYSTEM_HEADER_SEARCH_PATHS settings instead of HEADER_SEARCH_PATHS * Update test
This commit is contained in:
parent
5d06e68d45
commit
dfb93e1640
@ -2255,15 +2255,15 @@
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
OBJROOT = obj/Debug;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
SYMROOT = bin/Debug;
|
||||
SYSTEM_HEADER_SEARCH_PATHS = (
|
||||
../include,
|
||||
../libs,
|
||||
"\"../name with spaces\"",
|
||||
"$(inherited)",
|
||||
);
|
||||
OBJROOT = obj/Debug;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
SYMROOT = bin/Debug;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
@ -1370,7 +1370,7 @@
|
||||
if not table.isempty(cfg.sysincludedirs) then
|
||||
table.insert(cfg.sysincludedirs, "$(inherited)")
|
||||
end
|
||||
settings['HEADER_SEARCH_PATHS'] = cfg.sysincludedirs
|
||||
settings['SYSTEM_HEADER_SEARCH_PATHS'] = cfg.sysincludedirs
|
||||
|
||||
for i,v in ipairs(cfg.libdirs) do
|
||||
cfg.libdirs[i] = p.project.getrelative(cfg.project, cfg.libdirs[i])
|
||||
|
Loading…
Reference in New Issue
Block a user