Add CMake tools | Qt Creator Documentation

- Qt Creator Documentation
- Add CMake tools
- Qt Creator 19.0.1

Add Bare Metal devices ◦ Add Nim compilers

# Add CMake tools

Qt Creator automatically detects the CMake executable that you specify in the `PATH`. You can add paths to other CMake executables and use them in different build and run kits.

To see the CMake installations that Qt Creator automatically detects:

1. Select Preferences > CMake > Tools.

2. The Name field displays a name for the CMake installation.
3. The Path field displays the path to the CMake executable.
4. The Help file field displays the path to the CMake help file (.qch) that comes with CMake.

To refresh the list of automatically detected CMake executables, select Re-detect.

## Add or remove CMake tools

To add a path to a CMake executable that Qt Creator does not detect automatically, and to specify settings for it, select Add.

To add a CMake executable on a remote Linux device or in Docker, select Remote in the dropdown menu in Browse (Choose on macOS) in the Path field.

To make changes to automatically detected installations, select Clone.

To remove the selected CMake executable from the list, select Remove.

## Set the default CMake tool

Qt Creator uses the default CMake if it does not have enough information to choose the CMake to use. To set the selected CMake executable as the default, select Make Default.

## Add CMake tools to kits

To add the CMake tool to a build and run kit, select Preferences > Kits. The kit also specifies the CMake generator that is used for producing project files for Qt Creator and the initial configuration parameters:

See also Build applications on remote Linux devices, Build on Docker devices, How to: Build with CMake, How to: Manage kits, CMake, and Managing kits.

Add Bare Metal devices ◦ Add Nim compilers