Spindle is a C++ project written in C++14.
The project is built using CMake and requires version 3.20 or newer to work correctly.
Spindle takes a dependency on googletest for unit tests and is included
in the source tree as a git submodule. Run the following to check out the module and make it available
to the build system:
$ cd <path-to-spindle>
$ git submodule update --initSpindle is tested on Linux and macOS.
The following will generate the build system and then build all targets:
$ cd <path-to-spindle>
$ cmake -B build
$ cmake --build buildStart by building the unit tests executable:
$ cmake --build build --target spindle-testsNow run the unit tests using CMake's ctest utility:
$ ctest --test-dir build -R unit-tests -VAlternatively, run the tests executable directly:
$ ./build/spindle-tests