i2pd/doc/BUILD_NOTES.md

47 lines
1018 B
Markdown
Raw Normal View History

2014-09-17 09:12:05 +04:00
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)
* WITH_TESTS -- build tests (ON/OFF)
* WITH_BENCHMARK -- build bechmarking code (ON/OFF)
2015-08-30 20:07:26 +03:00
* WITH_OPTIMIZE -- enable optimization flags (ON/OFF) (not for MSVC)
* I2PD_DATA_DIR -- directory where i2pd will store data
2014-09-17 09:12:05 +04:00
Debian
------
Required "-dev" packages:
* cmake
* libboost-filesystem-dev
* libboost-program-options-dev
* libboost-regex-dev
* libboost-system-dev
2015-04-11 13:47:49 +03:00
* libboost-date-time-dev
2014-09-17 09:12:05 +04:00
* libcrypto++-dev
2015-08-22 00:35:26 +03:00
Optional packages:
* libboost-test-dev
2014-09-17 09:12:05 +04:00
FreeBSD
-------
2015-08-30 20:07:26 +03:00
Branch 9.X has gcc v4.2, that knows nothing about required c++11 standard.
2014-09-17 09:12:05 +04:00
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