mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1018 B
47 lines
1018 B
10 years ago
|
Build notes
|
||
|
===========
|
||
|
|
||
|
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)
|
||
9 years ago
|
* WITH_TESTS -- build tests (ON/OFF)
|
||
|
* WITH_BENCHMARK -- build bechmarking code (ON/OFF)
|
||
9 years ago
|
* WITH_OPTIMIZE -- enable optimization flags (ON/OFF) (not for MSVC)
|
||
9 years ago
|
* I2PD_DATA_DIR -- directory where i2pd will store data
|
||
10 years ago
|
|
||
|
Debian
|
||
|
------
|
||
|
|
||
|
Required "-dev" packages:
|
||
|
* cmake
|
||
|
* libboost-filesystem-dev
|
||
|
* libboost-program-options-dev
|
||
|
* libboost-regex-dev
|
||
|
* libboost-system-dev
|
||
10 years ago
|
* libboost-date-time-dev
|
||
10 years ago
|
* libcrypto++-dev
|
||
|
|
||
9 years ago
|
Optional packages:
|
||
|
* libboost-test-dev
|
||
|
|
||
10 years ago
|
FreeBSD
|
||
|
-------
|
||
|
|
||
9 years ago
|
Branch 9.X has gcc v4.2, that knows nothing about required c++11 standard.
|
||
10 years ago
|
|
||
|
Required ports:
|
||
|
|
||
|
* devel/cmake
|
||
|
* devel/boost-libs
|
||
|
* lang/gcc47 # or later version
|
||
|
* security/cryptopp
|
||
|
|
||
|
To use newer compiler you should set these variables:
|
||
|
|
||
|
export CC=/usr/local/bin/gcc47
|
||
|
export CXX=/usr/local/bin/g++47
|
||
|
|
||
|
Replace "47" with your actual gcc version
|