[ripple/rippled] Modernize CMake Build (#2579)

Switch to target-oriented dependencies. Use imported targets for installed dependencies (openssl, boost). Localize FindBoost to remove cmake version dependence for latest boost support. Logically separate «ripple-libpp» core sources and add install targets. Update CI scripts to use proper cmake conventions. Logically separate NIH dependencies as static libs.

You can view, comment on, or merge this pull request online at:

https://github.com/ripple/rippled/pull/2579

— Commit Summary —

* Logically separate «old» beast code:
* Refactor/modernize our cmake:
* Update docs and CI scripts for new CMake file:

— File Changes —

M Builds/CMake/CMakeFuncs.cmake (772)
A Builds/CMake/FindBoost.cmake (2098)
A Builds/CMake/RippleConfig.cmake (55)
M Builds/Test.py (29)
M Builds/linux/README.md (98)
M Builds/macos/README.md (42)
M CMakeLists.txt (2505)
M Jenkinsfile (150)
M appveyor.yml (2)
M bin/ci/ubuntu/build-and-test.sh (50)
M docs/source.dox (5)
M src/ed25519-donna/ed25519-donna-portable.h (3)
M src/ripple/beast/core/BasicNativeHeaders.h (73)
M src/ripple/beast/core/CurrentThreadName.cpp (2)
M src/ripple/beast/core/SemanticVersion.cpp (1)
M src/ripple/beast/core/core.unity.cpp (98)
M src/ripple/beast/net/impl/IPAddressV4.cpp (3)
M src/ripple/beast/net/impl/IPAddressV6.cpp (3)
M src/ripple/beast/net/impl/IPEndpoint.cpp (3)
M src/ripple/beast/unity/beast_utility_unity.cpp (3)
M src/ripple/crypto/impl/GenerateDeterministicKey.cpp (22)
M src/ripple/protocol/impl/BuildInfo.cpp (11)
R src/ripple/unity/basics1.cpp (11)
R src/ripple/unity/basics2.cpp (10)
D src/ripple/unity/ed25519_donna.c (24)
D src/ripple/unity/lz4.c (24)
M src/ripple/unity/protobuf.cpp (15)
D src/ripple/unity/ripple.proto.cpp (20)
M src/ripple/unity/rocksdb.cpp (20)
M src/ripple/unity/rocksdb.h (37)
D src/ripple/unity/secp256k1.cpp (34)
D src/ripple/unity/snappy.cpp (41)
D src/sqlite/sqlite_unity.c (60)
M src/test/beast/IPEndpoint_test.cpp (3)

— Patch Links —

https://github.com/ripple/rippled/pull/2579.patch
https://github.com/ripple/rippled/pull/2579.diff

Добавить комментарий