cmake: avoid copy of headers by moving generated headers to include/build_config (thanks @madebr!)

Shove all build system generated headers in include/build_config.
Doing this, cmake does not need to copy the headers anymore.
This was done for external projects vendoring SDL.

See https://github.com/libsdl-org/SDL/issues/6641#issuecomment-1328092535
This commit is contained in:
Sam Lantinga
2022-11-26 12:25:31 -08:00
parent 9c8369e097
commit e4b97c42b3
2 changed files with 45 additions and 45 deletions