How to handle forced inclusion with precompiled header in C++ project with CMake?
I am trying to understand how to generate and include precompiled headers with CMake.
Currently, I am utilizing target_precompile_headers
from CMake to generate and include the precompiled header in my source files. This works in my C++ project. On the other hand, this CMake directive leads to forced inclusion of the precompiled header (as described in the CMake documentation