Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 604 Bytes

gcc-compilation-guide.md

File metadata and controls

39 lines (27 loc) · 604 Bytes

🔨 Building project with G++ 13

1. Install G++ 13

sudo apt install cmake ninja-build g++-13 libstdc++-13-dev

2. Prepare build directory

git clone https://github.com/cieslarmichal/faker-cxx.git
cd faker-cxx
git submodule update --init --recursive
mkdir build && cd build

3. Setup CMake

cmake .. -GNinja -DCMAKE_CXX_COMPILER=g++-13

4. Build

cmake --build .

5. Run tests

./faker-cxx-UT

Additional information

If you can't install g++ 13 on your system, you can use prepared Dockerfile.