CMake Language Syntax
Learn about the syntax of comments, commands, and command arguments in the CMake language.
We'll cover the following
Comments
Just like in C++, there are two kinds of comments: single-line comments and bracket (multiline) comments. But unlike in C++, bracket comments can be nested. Let's have a look at the syntax of both kinds of comments in the following code snippet:
Get hands-on with 1400+ tech skills courses.