Mario Zechner cac3383d4f [godot] Fix compile_commands.json generation on Ubuntu without X11
The setup.sh script was always trying to generate compile_commands.json
for IDE integration, which triggered SCons platform auto-detection. On
Ubuntu runners without X11 libraries (used for Android/Web builds),
this caused the build to fail.

Changes:
- Only generate compile_commands.json in dev mode (CI uses dev=false)
- Explicitly specify the platform parameter for SCons
- On Linux, check if X11 libraries are available before attempting generation
- Skip generation gracefully if X11 is not available

This fixes the Android and Web template builds in GitHub Actions.
2025-11-17 14:26:46 +01:00
..
2024-05-10 13:58:57 +02:00
2022-07-18 10:27:42 +02:00
2022-07-18 10:27:42 +02:00