C template using CMake and Check for unit testing.