README-OSX.md
author Roker <roker@pep-project.org>
Fri, 08 Jul 2016 21:32:53 +0200
changeset 805 f026ae414feb
parent 708 c32da8833a6c
child 821 a0907c429673
permissions -rw-r--r--
add some questions to the REAME. *sigh*
dirk@707
     1
# Dependencies
dirk@707
     2
dirk@707
     3
You need a working [asn1c](https://lionet.info/asn1c/blog/).
dirk@707
     4
dirk@707
     5
```
dirk@707
     6
brew install asn1c
dirk@707
     7
```
dirk@707
     8
dirk@706
     9
# Building for OS X
dirk@706
    10
roker@805
    11
* TODO: which dependencies can be fetched via "brew" and which have to be compiled manually?
roker@805
    12
dirk@706
    13
## Build libetpan
dirk@706
    14
dirk@706
    15
```
roker@805
    16
cd pEpEngine   <--- huh? to build libetpan???
dirk@706
    17
autoreconf -vfi
dirk@706
    18
./configure
dirk@706
    19
make
dirk@706
    20
make install
dirk@706
    21
```
dirk@706
    22
dirk@670
    23
# Building for iOS
dirk@670
    24
dirk@670
    25
This is done with Xcode. Simply add `pEpEngine.xcodeproj` to
dirk@670
    26
your project and add a dependency to the target `pEpEngine`
dirk@670
    27
(in `Target Dependencies` in your `Build Phases`.
dirk@670
    28
dirk@670
    29
Usually you just integrate `pEpiOSAdapter.xcodeproj`.