CLion

CLion is a C and C++ IDE powered by JetBrains and exclusively available in a paid version.

πŸ‘‰ JetBrains IDEs share many features explained here.

Features

  • 🌱 Makefile and CMake support
  • πŸš€ Suggest STD functions when detecting common patterns
  • ⏳ can generate common code snippets (equals, getters, functions...)
  • ...

Product-specific features

Set Up The Compiler

Press CTRL+ALT+S or βš™οΈ > Settings. Navigate to Build... then Toolchains. From there, create or update a toolchain.

A toolchain defines the environment and the compiler used to run your build tool, compile files, and debug executables.


CMake Configurations

Press CTRL+ALT+S or βš™οΈ > Settings. Navigate to Build... then CMake. From there, create or update a configuration.

Information such as the type of build, the toolchain used, or the arguments passed to the build command can be set from there.

Build

Inside the dropdown with all targets, you can use CTRL+F and search for a target (targets will be filtered as you type).

Inside the Build menu, you can build all targets or run clean.