Content #
Cached variables will be generated from listfiles and stored in CMakeCache.txt when the configure state is run for the first time.
- Remove CMakeCache.txt will reset the project.
- 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.