make -j2 -k
The -j flag is to distrubute jobs, so if you have 8 cores you could use -j8. The -k keeps building after errors. Building will take time, at the end revise errors and look for built libraries and executables. Note that if you don't see a library built, it could be that not all necessary fields were set when configuring in CMake