sVector is a vector like container that stores its memory on the stack rather than the heap. Was primarily created to have an array that kept track of size.
You can install just the library using:
git clone https://github.com/garthable/sVector sVectorOnce installed you can link it to your projects CMake file by adding:
add_subdirectory(sVector)
target_link_libraries(<EXECUTABLE_TARGET> <PUBLIC/PRIVATE/INTERFACE> <OTHER_LIBRARIES> sVector)I have not tested sVector with CMake's fetch so its unknown if that works.
You can download the entire project using:
git clone https://github.com/garthable/sVectorInorder to compile the project use the following commands:
mkdir build
cd build
cmake ..
makeThis will produce an binary file name sVectorTests.exe or sVectorTests.out. When run these binary files will run tests on the project.