Decrease Compilation Time

Hi everyone! I wanted to reduce the compilation time of the program so I searched and found few good blogs like Using GCC reduce compilation time , but nothing worked. I thought of using precompiled file for bits/stdc++.h as that u reduce the compilation time, but couldn’t accomplish that. I spent more than 3 hrs searching on the net but found no good, so I feel that the community can help me with an answer. I’m using CLion on Mac OS. Tried hands on it but got a lot of errors that I couldn’t understand. Please forgive me for my mistakes, if any. Thank u community!