mirror of
1
0
Fork 0
This commit is contained in:
Arcturus 2019-05-06 07:20:59 +00:00 committed by Henry Schreiner
parent dd7232b23c
commit 548040e179
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
## Control flow
CMake has an «command:`if`» statement, though over the years is has become rather complex. There are a series of all caps keywords you can use inside an if statement, and you can often refer to variables by either directly by name or using the `${}` syntax (the if statement historically predates variable expansion). An example if statement:
CMake has an «command:`if`» statement, though over the years it has become rather complex. There are a series of all caps keywords you can use inside an if statement, and you can often refer to variables by either directly by name or using the `${}` syntax (the if statement historically predates variable expansion). An example if statement:
```cmake
if(variable)