This example shows the use of variables in cmake. The following points are explained in the example:
- what are variables and how are they set
- reading and printing variables
- environment variables
- cached variables
- string: search and manipulation
- lists
- math in cmake
cd build
cmake ../source