From 066e4570f2df7609375872886e3c37ac307d77cd Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 10 Oct 2025 12:31:14 +0100 Subject: [PATCH] Update README with build and packaging details Expanded build instructions to clarify required tools and dependency handling. Added context about historical distribution methods and CPack usage for packaging. Provided guidance on skipping the packing step and removed redundant custom build section. --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2a767574..c3d6db02 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,21 @@ ## Cloning -Be sure to clone the repository properly, with `--recursive` flag, or you'll get angry: +Be sure to clone the repository properly, with `--recursive` flag, or you'll get angry:
`git clone --recursive https://github.com/letheanVPN/blockchain.git` # Building -The project uses a `Makefile` that provides a simple and powerful interface for building. It automatically handles dependency installation with Conan and compilation with CMake. +The project uses a `Makefile` that provides a simple and powerful interface for building. +It automatically handles dependency installation with Conan and compilation with CMake. + +You need CMake and Make installed on your system, other than that you don't need to worry about Python, Conan, Boost, OpenSSL, or any other dependencies. + +The final packages are created as they are due to a historical distribution method used in china: USB Stick, CD, DVD, etc. + +We use CPack, so our pakages are self-contained, have searchable HTML documentation, and are ready to be installed on any system. + +To skip the packing step, use `make build` as defined in the section below for Advanced Build Customization ## Simple Workflow Builds (Recommended) @@ -32,10 +41,6 @@ For most use cases, these two commands are all you need. They handle the entire make testnet ``` -## Custom Builds - -You can use the `make build` target with variables for more control over the final binaries. - ## Creating Release Packages To create distributable packages (e.g., `.zip`, `.msi`, `.pkg`, `.deb`), run the `release` target. This will build the project, build the documentation, and then package everything.