Here is a starter kit for C++ using CMake build system. The aim is to be used with CLion. It include a test project with GTest and a cmake module to find JsonCpp library.
Just clone and open the directory with CLion, it will generate a target to build the exe and the tests (if GTest is found).