Add support for generating compile_commands.json

- Integrate premake-ecc module for generating compile_commands.json
- Add .clangd config pointing to build/ directory
- Add 'Generate compile_commands.json' task
- Run compile_commands generation automatically on build
This commit is contained in:
Peter0x44
2025-12-03 05:16:23 +00:00
parent acc91fd5a8
commit a6c1b96d0a
8 changed files with 268 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
-- Export Compile Commands module for clangd support
require "ecc/ecc"
newoption
{
trigger = "graphics",