macOS: Assume in Xcode project that build exists
authorMarvin Scholz <epirat07@gmail.com>
Tue, 9 May 2017 08:10:47 +0000 (10:10 +0200)
committerMarvin Scholz <epirat07@gmail.com>
Tue, 9 May 2017 08:10:47 +0000 (10:10 +0200)
This is a vague assumption as the build folder could be called anything
actually or not be present at all, but for most users following the wiki
guide this will be true.
If it isn't, it will result in missing header errors, the same that
were present before this change.

extras/package/macosx/VLC.xcodeproj/project.pbxproj

index c90b11d..3a5021b 100644 (file)
                                CODE_SIGN_IDENTITY = "";
                                COMBINE_HIDPI_IMAGES = YES;
                                COPY_PHASE_STRIP = NO;
+                               HEADER_SEARCH_PATHS = (
+                                       ../../../include/,
+                                       ../../../include/vlc/,
+                                       ../../../build/include/vlc/,
+                                       ../../../build/include/,
+                                       ../../../build/,
+                               );
                                LD_RUNPATH_SEARCH_PATHS = "";
                                MACOSX_DEPLOYMENT_TARGET = 10.7;
                                ONLY_ACTIVE_ARCH = YES;
                                COMBINE_HIDPI_IMAGES = YES;
                                COPY_PHASE_STRIP = YES;
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+                               HEADER_SEARCH_PATHS = (
+                                       ../../../include/,
+                                       ../../../include/vlc/,
+                                       ../../../build/include/vlc/,
+                                       ../../../build/include/,
+                                       ../../../build/,
+                               );
                                LD_RUNPATH_SEARCH_PATHS = "";
                                MACOSX_DEPLOYMENT_TARGET = 10.7;
                                PRODUCT_NAME = "$(TARGET_NAME)";
                                COMBINE_HIDPI_IMAGES = YES;
                                COPY_PHASE_STRIP = YES;
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+                               HEADER_SEARCH_PATHS = (
+                                       ../../../include/,
+                                       ../../../include/vlc/,
+                                       ../../../build/include/vlc/,
+                                       ../../../build/include/,
+                                       ../../../build/,
+                               );
                                LD_RUNPATH_SEARCH_PATHS = "";
                                MACOSX_DEPLOYMENT_TARGET = 10.7;
                                PRODUCT_NAME = "$(TARGET_NAME)";
                                ENABLE_TESTABILITY = YES;
                                FRAMEWORK_SEARCH_PATHS = "";
                                GCC_NO_COMMON_BLOCKS = YES;
+                               GCC_PREPROCESSOR_DEFINITIONS = "HAVE_CONFIG_H=1";
                                GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                                GCC_WARN_UNDECLARED_SELECTOR = YES;
                                HEADER_SEARCH_PATHS = (
                                        ../../../include/,
                                        ../../../include/vlc/,
+                                       ../../../build/include/vlc/,
+                                       ../../../build/include/,
                                );
                                MACOSX_DEPLOYMENT_TARGET = 10.7;
                                ONLY_ACTIVE_ARCH = YES;
                                ENABLE_STRICT_OBJC_MSGSEND = YES;
                                FRAMEWORK_SEARCH_PATHS = "";
                                GCC_NO_COMMON_BLOCKS = YES;
+                               GCC_PREPROCESSOR_DEFINITIONS = "HAVE_CONFIG_H=1";
                                GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                                GCC_WARN_UNDECLARED_SELECTOR = YES;
                                HEADER_SEARCH_PATHS = (
                                        ../../../include/,
                                        ../../../include/vlc/,
+                                       ../../../build/include/vlc/,
+                                       ../../../build/include/,
                                );
                                MACOSX_DEPLOYMENT_TARGET = 10.7;
                                PATH = $VLC_PATH;
                                ENABLE_STRICT_OBJC_MSGSEND = YES;
                                FRAMEWORK_SEARCH_PATHS = "";
                                GCC_NO_COMMON_BLOCKS = YES;
+                               GCC_PREPROCESSOR_DEFINITIONS = "HAVE_CONFIG_H=1";
                                GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                                GCC_WARN_UNDECLARED_SELECTOR = YES;
                                HEADER_SEARCH_PATHS = (
                                        ../../../include/,
                                        ../../../include/vlc/,
+                                       ../../../build/include/vlc/,
+                                       ../../../build/include/,
                                );
                                MACOSX_DEPLOYMENT_TARGET = 10.7;
                                PATH = $VLC_PATH;