build(cmake): reorganize CMakeLists.txt and make it compatible with Ninja

Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
k4yt3x
2025-01-08 00:00:00 +00:00
parent 953147ede7
commit 8687d7d175
6 changed files with 598 additions and 573 deletions