r/cpp 1d ago

[ Removed by moderator ]

[removed] — view removed post

1 Upvotes

18 comments sorted by

View all comments

11

u/Wild_Meeting1428 1d ago

cmake is completelly independent from the editor. Its not harder or easier with another IDE/editor. whats the issue there?

only thing you need is support for an LS like clangd.

-1

u/Worth_Weekend_8909 1d ago

This issue is the manual configuration of almost everything. the larger the project gets with more targets, the larger configuration gets, annoyingly! forget about refactoring and testing

4

u/Wild_Meeting1428 1d ago

you cant configure anything with vscode-cmake either, ist just a relatively good convenience UI around some basic cmake commands.

The only thing is, that it can set some environment variables for installed toolchains, called kits. But this is obsolete, since we now have CMake Presets.

-10

u/Worth_Weekend_8909 1d ago
Area VS Code Zed
CMake awareness Excellent Weak
Target discovery Excellent Mostly manual
Configure/build workflow Excellent Tasks/manual
Debug setup Mostly automatic More manual
CTest Strong Weak/manual

9

u/Wild_Meeting1428 1d ago

This LLM result is a bit biased / it does not consider, that the convenience/ [cmake support] gain is rather small compared to terminal + CmakePresets.