Comparison Operators and Simple Checks
Let's learn about comparing values, simple checks, and filesystems in CMake.
We'll cover the following
CMake assumes that the user is asking if the variable is defined (and is not explicitly false
). Luckily, we can explicitly check that fact (and not worry about the value inside):
Get hands-on with 1400+ tech skills courses.