brew install llvm@18
and add compiler to path:
export PATH="/opt/homebrew/opt/llvm@18/bin:$PATH"
git clone https://github.com/cieslarmichal/faker-cxx.git
cd faker-cxx
git submodule update --init --recursive
cmake -B ./build -DCMAKE_CXX_COMPILER=clang++ -DBUILD_TESTING=ON
cmake --build ./build
./faker-cxx-UT
or using CTest:
ctest --test-dir ./build