How to use precompiled Header files in cmake using clang

Revision en1, by abhinash6g, 2020-08-27 23:15:17

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!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English abhinash6g 2020-08-27 23:15:17 680 Initial revision (published)