Resolve "refactor(build): use CMake PCH targets"
Description
We replaced our custom scripts to build with PCH by CMake target_precompile_headers
function. This removes a big and complicated piece of code from our build system.
Closes #977 (closed)
How to test it?
On all platforms/compilers:
- Build must be successful and achieve the same completion time.
- Test debug capabilities (they should remain the same).
- Build with Sight from an external repository.