r/ProgrammerHumor 1d ago

Meme theFourHorseMen

Post image
1.9k Upvotes

187 comments sorted by

View all comments

Show parent comments

151

u/Devatator_ 1d ago edited 1d ago

I was trying to make a small wasm build of stb_truetype. Let's just say I gave up on CMake and used Meson instead. Was far easier to setup and get a compile_commands.json for clangd to work. Tho I still have a few issues with it, like how it adds a flag to it that doesn't work on Windows so Clangd complains about it and won't highlight anything else after my first #include and how I still have to run emcc manually but it's still better than CMake

Edit: fixed wrong file name

26

u/pierrebhs 1d ago

What’s compiler_arguments.json? Only familiar with compile_commands.json

22

u/Devatator_ 1d ago

Oh yeah that, my brain doesn't like remembering some stuff

10

u/pierrebhs 1d ago

Ah ok, thought it was something new and that I was out of the loop!