C++17 implementation of an object factory
cmake is used to compile the sources.
The default compiler used is clang++-5.0.
The cmake files compile with -std=c++17.
The unit tests are implemented in googletest: be sure you have installed googletest to compile.
$ git clone https://github.com/massimo-marino/object-factory.git
$ cd object-factory
$ mkdir build
$ cd build
$ cmake ..
$ makeUnit tests are implemented with googletest.
Install googletest to compile and run them.
$ cd src/unitTests
$ ./unitTests$ cd ../example
$ ./object-factory-example