brew install llvm@16
git clone https://github.com/cieslarmichal/faker-cxx.git
cd faker-cxx
git submodule update --init --recursive
mkdir build && cd build
cmake .. -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm@16/bin/clang++
/opt/homebrew/opt/llvm@16/bin/clang++
is valid on your system. If this path is
not correct, replace it with the correct path to your Clang 16 compiler. You can find the correct path by using the
command brew --prefix llvm@16
. Adjust the CMake command accordingly.
make
./faker-cxx-UT
Note: This guide assumes a standard installation of Homebrew and the default paths it uses. If your Homebrew or LLVM installation paths are different, you will need to adjust the commands accordingly. Remember that paths and specific commands might vary depending on your system configuration and the versions of the tools installed.