diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-05-21 21:59:42 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2013-05-21 21:59:50 -0700 |
commit | 38f8bb3fdc3d3ecb449f85f75504589acafe08b1 (patch) | |
tree | 408013b990bf00bb8a9522a41a29b490fc9ee59a /example/mac | |
parent | 8108d5cd3c1176b691a0b1e17e9e4e73cc3f49b1 (diff) |
Simplified linking against mailcore. Added quick instructions in README.md
Diffstat (limited to 'example/mac')
-rw-r--r-- | example/mac/macExample/macExample.xcodeproj/project.pbxproj | 24 | ||||
-rw-r--r-- | example/mac/macExample/macExample/main.mm | 5 |
2 files changed, 1 insertions, 28 deletions
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 <Cocoa/Cocoa.h> #include <MailCore/MailCore.h> -#include <unicode/putil.h> 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(); } |