Building a C++ project is (unfortunately) a very difficult task. Each project has is specificities, more or less understood prerequisites… The only people who master this process are the ones who build the project on a daily basis.
The way we thought our CFamily plugin is that you start from a working build environment (not just a project that builds on some machine, but an environment that is capable to build the project here and now). Then, and only then, you use the build wrapper around the build command to extract the analysis configuration from the build.
For the first step, you should not work alone. Ask to one of the project developers to set-up the environment for you. When this is done, you’ll be able to focus on analyzing the code.