|
|
- # WIP
-
- ## Dependencies
- ```
- sudo port install git
-
- sudo port install gmake
- sudo port install autoconf
- sudo port install libtool
- sudo port install automake
- ```
-
- ```
- mkdir src_pEpMime4macOS
- cd src_pEpMime4macOS
- mkdir -p local/include
- mkdir -p local/lib
-
- # Dont bother with crossbuild. We need the headers only.
- git clone -b boost-1.73.0 --recursive https://github.com/boostorg/boost.git
- pushd boost
- ./bootstrap.sh -mmacosx-version-min=10.10
- ./b2 -std=c++11 cxxflags=-mmacosx-version-min=10.10 --with-regex --with-filesystem --with-program_options --with-thread --with-system stage
- ./b2 install
- cp stage/lib/*.a "../local/lib"
- cp -r boost "../local/include"
- popd
-
- git clone -b "master" https://pep-security.lu/gitlab/misc/sqlite.git
- git clone -b "master" https://gitea.pep.foundation/pEp.foundation/libetpan.git
-
- git clone git://github.com/vlm/asn1c.git
- pushd asn1c
- git checkout tags/v0.9.28 -b pep-engine
- autoreconf -iv
- ./configure --prefix="../local"
- make install
- popd
-
- git clone -b v2.1.6 http://pep-security.lu/gitlab/macos/sequoia4macos.git
- pushd sequoia4macos
- sh build.sh
- popd
-
- https://gitea.pep.foundation/pEp.foundation/pEpEngine.git
- git clone -b "v1.16_without_lib_prefix_defines" https://gitea.pep.foundation/buff/libiconv.git
- git clone https://gitea.pep.foundation/pEp.foundation/pEpMIME.git
- git clone https://gitea.pep.foundation/pep.foundation/pEpObjCAdapter.git
- ```
- ## Build
-
- ### Using Xcode
-
- `open pEpMimeObjCAdapter/pEpMimeObjCAdapter.xcworkspace/`
-
- Build scheme "libpEpMimeObjCAdapter_macOS".
-
- ### Using terminal
-
- `xcodebuild -workspace "pEpMimeObjCAdapter.xcworkspace" -scheme "libpEpMimeObjCAdapter_macOS" -configuration RELEASE`
-
- (or DEBUG)
-
- ## Build Dir & Build Artefacts
-
- You can find the build artefacts in the `pEpMimeObjCAdapter/build` folder
-
|