Candy is a library containing CAN backend stuff.
- CMake 3.26+
- C++20 compiler (GCC, Clang, or MSVC)
The project manages 2 main dependencies:
- SQLite - Lightweight database engine (can use local installation or be automatically built)
- Boost Spirit - Parser framework for DBC file parsing (can use local installation or be automatically built)
- Open the project folder in VSCode.
- Install the CMake Tools and C/C++ extensions.
- Ensure your Qt installation is discoverable by CMake (see below).
- Use the VSCode build tasks (
CMake: ConfigureandCMake: Build) or the status bar buttons.
- Create a build directory:
mkdir build cd build - Configure the project with CMake, specifying the Qt path if needed:
cmake ..
- Build the project:
cmake --build .
The project includes unit tests for working components:
cd build
ctestOr run individual test executables:
./test/- Tests CAN and DBC parsing