RaftLib

(β˜… 997)

The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators

  • .gitignore
  • .gitmodules
  • CHANGELOG.md
  • CMakeLists.txt
  • Doxyfile
  • LICENSE
  • raft
  • raftalgorithm
  • raftio
  • raftlib.pc.in
  • raftmanip
  • raftmath
  • raftrandom
  • raftstat
  • raftutility
  • README.md
  • version.json

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/RaftLib/RaftLib

Downloads the entire project code from GitHub to your computer.

cd RaftLib

Moves into the project folder you just downloaded.

2. CMake

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ 컴파일러 Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
you'll need to add to your cmake invocation:

Type this command into your terminal and run it.

Feel free to substitute your favorite build tool. I use Ninja and make depending on which machine I'm on. To change out, use cmake to generate the appropriate build files with the -Gxxx flag.

Type this command into your terminal and run it.

βœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

3. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd examples/general/pi

This project's files live in a subfolder, so move into it first.

make

Compiles the code based on the generated build configuration to produce an executable.

βœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation