[vlc-commits] macOS: Add correct vlc header search path to project

Marvin Scholz git at videolan.org
Tue May 9 08:37:51 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue May  9 08:37:36 2017 +0200| [828972465a91aaa11d9eb07e097bae19790c666b] | committer: Marvin Scholz

macOS: Add correct vlc header search path to project

This ensures Xcode is able to find vlc headers, and stops complaining
about those, as this leads to somewhat broken highlighting/completion
for some files.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=828972465a91aaa11d9eb07e097bae19790c666b
---

 extras/package/macosx/VLC.xcodeproj/project.pbxproj | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/extras/package/macosx/VLC.xcodeproj/project.pbxproj b/extras/package/macosx/VLC.xcodeproj/project.pbxproj
index 5a15612684..c90b11d2e5 100644
--- a/extras/package/macosx/VLC.xcodeproj/project.pbxproj
+++ b/extras/package/macosx/VLC.xcodeproj/project.pbxproj
@@ -1973,6 +1973,7 @@
 				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
 				ENABLE_TESTABILITY = YES;
+				FRAMEWORK_SEARCH_PATHS = "";
 				GCC_NO_COMMON_BLOCKS = YES;
 				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
@@ -1980,6 +1981,10 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
+				HEADER_SEARCH_PATHS = (
+					../../../include/,
+					../../../include/vlc/,
+				);
 				MACOSX_DEPLOYMENT_TARGET = 10.7;
 				ONLY_ACTIVE_ARCH = YES;
 				PATH = $VLC_PATH;
@@ -2004,6 +2009,7 @@
 				CLANG_WARN_UNREACHABLE_CODE = YES;
 				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				FRAMEWORK_SEARCH_PATHS = "";
 				GCC_NO_COMMON_BLOCKS = YES;
 				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
@@ -2011,6 +2017,10 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
+				HEADER_SEARCH_PATHS = (
+					../../../include/,
+					../../../include/vlc/,
+				);
 				MACOSX_DEPLOYMENT_TARGET = 10.7;
 				PATH = $VLC_PATH;
 				PRODUCT_NAME = VLC;
@@ -2034,6 +2044,7 @@
 				CLANG_WARN_UNREACHABLE_CODE = YES;
 				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
 				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				FRAMEWORK_SEARCH_PATHS = "";
 				GCC_NO_COMMON_BLOCKS = YES;
 				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
 				GCC_WARN_ABOUT_RETURN_TYPE = YES;
@@ -2041,6 +2052,10 @@
 				GCC_WARN_UNINITIALIZED_AUTOS = YES;
 				GCC_WARN_UNUSED_FUNCTION = YES;
 				GCC_WARN_UNUSED_VARIABLE = YES;
+				HEADER_SEARCH_PATHS = (
+					../../../include/,
+					../../../include/vlc/,
+				);
 				MACOSX_DEPLOYMENT_TARGET = 10.7;
 				PATH = $VLC_PATH;
 				PRODUCT_NAME = VLC;



More information about the vlc-commits mailing list