Skip to content

Getting Started

Clone the repository, set up your build environment, then build the library with CMake.

Terminal
git clone https://github.com/TrickfireRobotics/ak-series-lib.git
cd ak-series-lib
Terminal
mkdir build && cd build
cmake -S .. -B . -DSETUP_TEST_IFNAME=ON -DBUILD_TESTING=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build .
Option Description
BUILD_TESTING Build the GTest suite
SETUP_TEST_IFNAME Configure a virtual CAN interface for tests
CMAKE_EXPORT_COMPILE_COMMANDS Emit compile_commands.json for your LSP