Despite using in conjunction with LibFMT and GoogleTest, at the same time, having them is still optional. In the case of LibFMT it will be automatically cloned and GoogleTest can be disabled during compilation.
For you to test from scratch:
01. create a project, enter it and start a repository Git:
02. Recursively clone Faker-cxx:
03. Now create a CMakeLists.txt
And add the content below:
Note that in the line: set(BUILD_FAKER_TESTS OFF) we deactivate GoogleTest, and I recommend it because I noticed that there is an array that is bugged. 😃
04. Create a C++ file main.cpp
And add the content below:
In this example there are several fakers that you can generate, but there are more examples such as: Company Name, Animals, … and others!
05. Copy and run
Example of similar output:
Every time you run the binaries, new data will be generated!