From 43299aea10c378326fd71ad4574534e76d96af61 Mon Sep 17 00:00:00 2001 From: hagen Date: Mon, 30 Nov 2015 06:57:50 +0000 Subject: [PATCH] * BUILD_NOTES.md : update --- build/BUILD_NOTES.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/build/BUILD_NOTES.md b/build/BUILD_NOTES.md index e116ba5d..376f7457 100644 --- a/build/BUILD_NOTES.md +++ b/build/BUILD_NOTES.md @@ -16,11 +16,11 @@ and its dependencies. Build notes =========== -Common build/install process: +Common build/install process from sources: * git clone https://github.com/PurpleI2P/i2pd.git -* cd i2pd/build -* cmake -DCMAKE_BUILD_TYPE=Release . +* mkdir -p 'i2pd/build/tmp' && cd 'i2pd/build/tmp' +* cmake -DCMAKE_BUILD_TYPE=Release .. * make * make install @@ -29,18 +29,27 @@ Available cmake options: * CMAKE_BUILD_TYPE -- build profile (Debug/Release) * WITH_AESNI -- AES-NI support (ON/OFF) * WITH_HARDENING -- enable hardening features (ON/OFF) (gcc only) +* WITH_BINARY -- build i2pd itself +* WITH_LIBRARY -- build libi2pd +* WITH_STATIC -- build static versions of library and i2pd binary +* WITH_UPNP -- build with UPnP support (requires libupnp) +* WITH_PCH -- use pre-compiled header (experimental, speeds up build) Debian ------ -Required "-dev" packages: +For building from source on debian system you will need the following "-dev" packages: +* libboost-chrono-dev +* libboost-date-time-dev * libboost-filesystem-dev * libboost-program-options-dev * libboost-regex-dev * libboost-system-dev -* libboost-date-time-dev -* libssl-dev +* libboost-thread-dev +* libssl-dev (e.g. openssl) +* zlib1g-dev (libssl-dev already depends on it) +* libminiupnpc-dev (optional, if WITH_UPNP=ON) FreeBSD -------