CMakeLists: improve generated files
authorAlexander Couzens <lynxis@fe80.eu>
Sun, 1 Oct 2023 11:47:40 +0000 (13:47 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Sat, 9 Mar 2024 20:15:21 +0000 (21:15 +0100)
commitc47125dc3e7cc1ba40b7a9ef699af71a659dedd8
tree40331e15e57abf85519aff56fdf6cf9c4814e0fd
parent0f64b69923338efbca21904e1a42949d2a34c746
CMakeLists: improve generated files

Flag custom command as PRE_BUILT.
Flag all generated files as generated.
Make generated .c files depend on generated .h files.
Move all generated files to the build dir.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
CMakeLists.txt