Skip to content

Commit

Permalink
bazel: Experiment with fixing compile_commands.json so include of GLI…
Browse files Browse the repository at this point in the history
…CT/fonts.h is correct and non-broken in engine.h.
  • Loading branch information
ivucica authored Sep 18, 2024
1 parent 4913e7b commit 5d3e74d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ cc_library(
":objects",
#":sprite_hdr",
#":defines",
#":engine",
":engine", # to pull in GLICT, so we don't get header complaints about GLICT/fonts.h; affects only compile_commands.json, not build. note, however, we do depend on engine hdr here.
] + glu_deps,
)

Expand Down Expand Up @@ -285,6 +285,7 @@ cc_library(
":spritesdl",
":util",
"@glict//glict/GLICT",
"@glict//glict/GLICT:glict_sys_headers", # does not affect build, but affects compile_commands.json
"@libglu1-mesa-dev//:libglu1-mesa-dev",
"@rules_libsdl12//:libsdl12",
],
Expand Down

0 comments on commit 5d3e74d

Please sign in to comment.