Is it safe to delete build (CMake)?

<project>/build · Check first

What it is

The usual CMake build folder.

Can you delete it?

Sometimes, check what is inside first. Rebuildable, but some projects keep other things in a folder called build, so look first.

How to clean it safely

  1. Check it is CMake output (CMakeCache.txt inside).
  2. Delete it and configure again.

Step-by-step guide: Developer caches on a Mac →

Questions

Is it safe to delete <project>/build?

Sometimes, check what is inside first. Rebuildable, but some projects keep other things in a folder called build, so look first.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac