summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2019-02-07 15:11:56 -0500
committerNathan Hjelm <hjelmn@me.com>2019-04-04 21:20:48 -0600
commit0aeb46c3dd96e0e6c01a169414a6ba5f34d9ea18 (patch)
tree133425a2e5526c9eabb42cc9ac971c64237ad3f6
parent9501adff2455446aa6ce017525c9d747be67c115 (diff)
downloadlibusb-0aeb46c3dd96e0e6c01a169414a6ba5f34d9ea18.tar.gz
Fixed Xcode 10.1 warning by setting project setting 'ALWAYS_SEARCH_USER_PATHS = NO'
The warning was: "Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO." Also made sure all targets are referencing the xcconfig files. Closes #532 Signed-off-by: Nathan Hjelm <hjelmn@me.com>
-rw-r--r--Xcode/common.xcconfig3
-rw-r--r--Xcode/libusb.xcodeproj/project.pbxproj4
-rw-r--r--libusb/version_nano.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/Xcode/common.xcconfig b/Xcode/common.xcconfig
index bb97789..2c7ff3c 100644
--- a/Xcode/common.xcconfig
+++ b/Xcode/common.xcconfig
@@ -23,6 +23,9 @@ GCC_STRICT_ALIASING = NO
// Use C99 dialect.
GCC_C_LANGUAGE_STANDARD = c99
+// Don't search user paths with <> style #includes.
+ALWAYS_SEARCH_USER_PATHS = NO
+
// Compiler warnings.
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES
diff --git a/Xcode/libusb.xcodeproj/project.pbxproj b/Xcode/libusb.xcodeproj/project.pbxproj
index 1d11cf8..25dfd64 100644
--- a/Xcode/libusb.xcodeproj/project.pbxproj
+++ b/Xcode/libusb.xcodeproj/project.pbxproj
@@ -734,6 +734,7 @@
/* Begin XCBuildConfiguration section */
006AD4201C8C5A90007F8C6A /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 1443EE8516417E63007E0579 /* debug.xcconfig */;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
@@ -741,6 +742,7 @@
};
006AD4211C8C5A90007F8C6A /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 1443EE8816417E63007E0579 /* release.xcconfig */;
buildSettings = {
PRODUCT_NAME = "$(TARGET_NAME)";
};
@@ -748,12 +750,14 @@
};
008FBF331628B79300BC5BE2 /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 1443EE8516417E63007E0579 /* debug.xcconfig */;
buildSettings = {
};
name = Debug;
};
008FBF341628B79300BC5BE2 /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 1443EE8816417E63007E0579 /* release.xcconfig */;
buildSettings = {
};
name = Release;
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 0d6bc45..bc7fc4e 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 11349
+#define LIBUSB_NANO 11350