build-mac/README.md
author Dirk Zimmermann <dirk@pep-project.org>
Thu, 02 Jun 2016 09:40:00 +0200
changeset 706 89d51a7eb221
parent 670 5a3d50d25168
child 707 68331753fc73
permissions -rw-r--r--
OS X: Starting instructions in build-mac/README.md
dirk@706
     1
# Building for OS X
dirk@706
     2
dirk@706
     3
## Build libetpan
dirk@706
     4
dirk@706
     5
```
dirk@706
     6
cd pEpEngine
dirk@706
     7
autoreconf -vfi
dirk@706
     8
./configure
dirk@706
     9
make
dirk@706
    10
make install
dirk@706
    11
```
dirk@706
    12
dirk@670
    13
# Building for iOS
dirk@670
    14
dirk@670
    15
This is done with Xcode. Simply add `pEpEngine.xcodeproj` to
dirk@670
    16
your project and add a dependency to the target `pEpEngine`
dirk@670
    17
(in `Target Dependencies` in your `Build Phases`.
dirk@670
    18
dirk@670
    19
Usually you just integrate `pEpiOSAdapter.xcodeproj`.
dirk@670
    20
dirk@670
    21
## Dependencies
dirk@670
    22
dirk@670
    23
You need a working [asn1c](https://lionet.info/asn1c/blog/).
dirk@670
    24
dirk@670
    25
```
dirk@670
    26
brew install asn1c
dirk@670
    27
```