From 38f8bb3fdc3d3ecb449f85f75504589acafe08b1 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Tue, 21 May 2013 21:59:42 -0700 Subject: Simplified linking against mailcore. Added quick instructions in README.md --- .../macExample.xcodeproj/project.pbxproj | 24 ---------------------- example/mac/macExample/macExample/main.mm | 5 +---- 2 files changed, 1 insertion(+), 28 deletions(-) (limited to 'example/mac') diff --git a/example/mac/macExample/macExample.xcodeproj/project.pbxproj b/example/mac/macExample/macExample.xcodeproj/project.pbxproj index baab11de..4cfe53f6 100644 --- a/example/mac/macExample/macExample.xcodeproj/project.pbxproj +++ b/example/mac/macExample/macExample.xcodeproj/project.pbxproj @@ -424,19 +424,7 @@ buildSettings = { CLANG_CXX_LIBRARY = "libc++"; COMBINE_HIDPI_IMAGES = YES; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../../../Externals/libetpan/include", - "$(SRCROOT)/../../../Externals/icu4c/include", - "$(SRCROOT)/../../../Externals/ctemplate/include", - /usr/include/tidy, - /usr/include/libxml2, - ); INFOPLIST_FILE = "macExample/macExample-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(SRCROOT)/../../../Externals/libetpan/lib", - "$(SRCROOT)/../../../Externals/icu4c/lib", - "$(SRCROOT)/../../../Externals/ctemplate/lib", - ); PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = app; }; @@ -447,19 +435,7 @@ buildSettings = { CLANG_CXX_LIBRARY = "libc++"; COMBINE_HIDPI_IMAGES = YES; - HEADER_SEARCH_PATHS = ( - "$(SRCROOT)/../../../Externals/libetpan/include", - "$(SRCROOT)/../../../Externals/icu4c/include", - "$(SRCROOT)/../../../Externals/ctemplate/include", - /usr/include/tidy, - /usr/include/libxml2, - ); INFOPLIST_FILE = "macExample/macExample-Info.plist"; - LIBRARY_SEARCH_PATHS = ( - "$(SRCROOT)/../../../Externals/libetpan/lib", - "$(SRCROOT)/../../../Externals/icu4c/lib", - "$(SRCROOT)/../../../Externals/ctemplate/lib", - ); PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = app; }; diff --git a/example/mac/macExample/macExample/main.mm b/example/mac/macExample/macExample/main.mm index cdb19817..1749c010 100644 --- a/example/mac/macExample/macExample/main.mm +++ b/example/mac/macExample/macExample/main.mm @@ -8,12 +8,9 @@ #import #include -#include int main(int argc, char *argv[]) { - u_setDataDirectory("/usr/local/share/icu"); - //mailcore::AutoreleasePool * pool = new mailcore::AutoreleasePool(); + //mailcore::setICUDataDirectory(MCSTR("/usr/local/share/icu")); return NSApplicationMain(argc, (const char **)argv); - //pool->release(); } -- cgit v1.2.3