Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does CMake support precompiled headers?

0
Posted

Does CMake support precompiled headers?

0

Yes and no. Every platform does precompiled headers a bit differently, and there is currently no first-class interface provided by CMake and implemented on every platform. However, CMake does provide enough primitives for projects to use precompiled headers on specific platforms. Our issue tracker has a feature request with attachements providing user-contributed helper macros for some platforms.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.