Commits

Peter Hosey committed c5d8e9c

Changed the framework targets to use the same Info.plist prefix header as the other targets, and imported the hgRevision header into that header. Fixes Growl.framework's version number being “GROWL_VERSION”.

  • Participants
  • Parent commits 6b117ac
  • Branches default

Comments (0)

Files changed (2)

Growl.xcodeproj/project.pbxproj

 				);
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				INFOPLIST_FILE = "Framework/Resources/Growl.framework-Info.plist";
-				INFOPLIST_PREFIX_HEADER = "$(TARGET_BUILD_DIR)/include/HgRevision.h";
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "$(INFOPLIST_OTHER_PREPROCESSOR_FLAGS) -I \"$(TARGET_BUILD_DIR)/include\"";
 				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = "@executable_path/../Frameworks";
 				LIBRARY_STYLE = DYNAMIC;
 				);
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				INFOPLIST_FILE = "Framework/Resources/Growl-WithInstaller.framework-Info.plist";
-				INFOPLIST_PREFIX_HEADER = "$(TARGET_BUILD_DIR)/include/HgRevision.h";
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "$(INFOPLIST_OTHER_PREPROCESSOR_FLAGS) -I \"$(TARGET_BUILD_DIR)/include\"";
 				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = "@executable_path/../Frameworks";
 				LIBRARY_STYLE = DYNAMIC;
 				GCC_PREFIX_HEADER = Framework/Source/GrowlFramework_Prefix.pch;
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				INFOPLIST_FILE = "Framework/Resources/Growl.framework-Info.plist";
-				INFOPLIST_PREFIX_HEADER = "$(TARGET_BUILD_DIR)/include/HgRevision.h";
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "$(INFOPLIST_OTHER_PREPROCESSOR_FLAGS) -I \"$(TARGET_BUILD_DIR)/include\"";
 				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = "@executable_path/../Frameworks";
 				LIBRARY_STYLE = DYNAMIC;
 				);
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				INFOPLIST_FILE = "Framework/Resources/Growl.framework-Info.plist";
-				INFOPLIST_PREFIX_HEADER = "$(TARGET_BUILD_DIR)/include/HgRevision.h";
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "$(INFOPLIST_OTHER_PREPROCESSOR_FLAGS) -I \"$(TARGET_BUILD_DIR)/include\"";
 				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = "@executable_path/../Frameworks";
 				LIBRARY_STYLE = DYNAMIC;
 				GCC_PREPROCESSOR_DEFINITIONS = GROWL_WITH_INSTALLER;
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				INFOPLIST_FILE = "Framework/Resources/Growl-WithInstaller.framework-Info.plist";
-				INFOPLIST_PREFIX_HEADER = "$(TARGET_BUILD_DIR)/include/HgRevision.h";
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "$(INFOPLIST_OTHER_PREPROCESSOR_FLAGS) -I \"$(TARGET_BUILD_DIR)/include\"";
 				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = "@executable_path/../Frameworks";
 				LIBRARY_STYLE = DYNAMIC;
 				);
 				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
 				INFOPLIST_FILE = "Framework/Resources/Growl-WithInstaller.framework-Info.plist";
-				INFOPLIST_PREFIX_HEADER = "$(TARGET_BUILD_DIR)/include/HgRevision.h";
+				INFOPLIST_OTHER_PREPROCESSOR_FLAGS = "$(INFOPLIST_OTHER_PREPROCESSOR_FLAGS) -I \"$(TARGET_BUILD_DIR)/include\"";
 				INFOPLIST_PREPROCESS = YES;
 				INSTALL_PATH = "@executable_path/../Frameworks";
 				LIBRARY_STYLE = DYNAMIC;

Info.plist-Prefix.pch

 #import "GrowlVersion.h"
+#import "HgRevision.h"