This example has been tested with MacOS 11.3+.
CMAKE
in the path/Applications/CMake.app/Contents/bin/cmake
- G++ compiler,
brew install gcc
mkdir build
cd build
cmake ..
make -j12
cd build
./concept_based_di
Output:
❯ ./concept_based_di
[INFO]Hello Logger DI: all
[INFO]Hello Logger DI: two
[INFO]Hello Logger DI: onlyLogger