CMakeCache.txt

CMakeCache.txt

Content #

Cached variables will be generated from listfiles and stored in CMakeCache.txt when the configure state is run for the first time.

  1. Remove CMakeCache.txt will reset the project.
  2. Cache variables can be read and written from the listfiles.

list cache variables:

cmake -L[A][H] <path-to-source>

A means show variaables that are marked as ADVANCED. H means print help messages with variables.

From #