Skip to content

Build library from source

Will Hemsworth edited this page Aug 12, 2025 · 3 revisions

Windows

Clone

cd c:\dev\cpp\lib\bitloop
git clone https://github.com/willmh93/bitloop.git
cd bitloop
scripts\bootstrap.bat

Build library + examples

via Visual Studio:

Right click "examples" folder ⇒ "Open with Visual Studio"

via Native Tools Command Prompt for VS 2022:
cd c:\dev\cpp\lib\bitloop
cmake --preset ninja-debug
cmake --build --preset ninja-debug
framework/build/ninja-debug/examples.exe

Linux

Clone

sudo apt update && sudo apt install -y git
git clone https://github.com/willmh93/bitloop.git
cd bitloop

Bootstrap

bash scripts/bootstrap.sh
source ~/.bashrc

Build library + examples

cmake --preset ninja-debug
cmake --build --preset ninja-debug
framework/build/ninja-debug/examples/examples

Clone this wiki locally