From 683462826692c2534e7f640e0eb70e51205a4696 Mon Sep 17 00:00:00 2001 From: "Hoa V. DINH" Date: Mon, 24 Nov 2014 15:18:19 -0800 Subject: Build instructions for Windows --- README.md | 4 ++-- build-windows/README.md | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 build-windows/README.md diff --git a/README.md b/README.md index 2a561b8b..6ae51db9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Mailcore 2: Introduction ## +## MailCore 2: Introduction ## MailCore 2 provides a simple and asynchronous Objective-C API to work with the e-mail protocols **IMAP**, **POP** and **SMTP**. The API has been redesigned from the ground up. It features: @@ -15,7 +15,7 @@ MailCore 2 provides a simple and asynchronous Objective-C API to work with the e ### Cocoapods ### -Mailcore 2 is available on [Cocoapods](http://cocoapods.org/). +MailCore 2 is available on [Cocoapods](http://cocoapods.org/). **For iOS:** ``` diff --git a/build-windows/README.md b/build-windows/README.md new file mode 100644 index 00000000..69981139 --- /dev/null +++ b/build-windows/README.md @@ -0,0 +1,50 @@ +## MailCore 2 on Windows ## + +All the provided binaries are compiled in release mode. +For the debug mode, you need to download the repositories and compile them. + +### Binary ### + +In case you just need a binary build of MailCore 2: +- [MailCore 2](http://d.etpan.org/mailcore2-deps/mailcore2-win32/) + +Also, you'll need all the dependencies: + +- [CTemplate](http://d.etpan.org/mailcore2-deps/ctemplate-win32/) +- [libEtPan](http://d.etpan.org/mailcore2-deps/libetpan-win32/) +- [LibXML 2](http://d.etpan.org/mailcore2-deps/libxml2-win32/) +- [Tidy HTML5](http://d.etpan.org/mailcore2-deps/tidy-html5-win32/) +- [uchardet](http://d.etpan.org/mailcore2-deps/uchardet-win32/) +- [zlib](http://d.etpan.org/mailcore2-deps/zlib-win32/) +- [ICU, OpenSSL and pthread for win32](http://d.etpan.org/mailcore2-deps/misc-win32/) + +### Build using Visual Studio 2013 ### + +Download the most recent builds in: +- [CTemplate](http://d.etpan.org/mailcore2-deps/ctemplate-win32/) +- [libEtPan](http://d.etpan.org/mailcore2-deps/libetpan-win32/) +- [LibXML 2](http://d.etpan.org/mailcore2-deps/libxml2-win32/) +- [Tidy HTML5](http://d.etpan.org/mailcore2-deps/tidy-html5-win32/) +- [uchardet](http://d.etpan.org/mailcore2-deps/uchardet-win32/) +- [zlib](http://d.etpan.org/mailcore2-deps/zlib-win32/) +- [ICU, OpenSSL and pthread for win32](http://d.etpan.org/mailcore2-deps/misc-win32/) + +Instructions for CTemplate, libEtPan, LibXML 2, Tidy HTML5, uchardet and zlib: +- copy `include`, `lib` and `lib64` folders to `mailcore2/Externals`. + +ICU win32: +- copy `bin`, `include` and `lib` folders to `mailcore2/Externals`. + +ICU win64: +- copy `bin64`, `include` and `lib64` folders to `mailcore2/Externals`. + +openssl: +- copy `bin`, `bin64`, `include`, `lib` and `lib64` to `mailcore2/Externals`. + +pthread: +- In `Pre-built.2`, copy `dll`, `include` and `lib` to `mailcore2/Externals`. + +As a result, in `Externals` folder, you should have the following folders: `include`, `lib`, `lib64`, `bin`, `bin64` and `dll`. + +In `mailcore2/build-windows/mailcore2`, using Visual Studio 2013, open `mailcore2.sln`. +Then, build. -- cgit v1.2.3