CMake - Thoemi09/moderncpp_vscode GitHub Wiki

The CMake extension is very simple. It provides basic syntax highlighting for CMake files, code completion, etc.

Install the extension

To install/enable it,

  • Go to Extensions in the activity bar
  • Search for CMake
  • Install/enable it (see below)

Features

Once it is installed/enabled, syntax highlighting should work for CMake files:

You can also hover over functions and variables to get more information about them or use the code completion feature by start typing a CMake specific name.

In the next section, we will install the extension CMake Tools.