Article directory
- 1. Organization
-
- 1. Table of Contents
- 2. Script
- 3. Modules
- 2. Grammar
-
- 1. Encoding
- 2. Source files
- 3. Command call
- 4. Command parameters
-
- (1) Bracket parameters
- (2) Parameters with quotes
- (3) Unquoted parameters
- 5. Escape sequences
- 6. Variable reference
- 7. Comments
-
- (1) Bracket comments
- (2) Line comments
- 3. Control structure
-
- 1. Conditional block
- 2. Loop
- 3. Command definition
- 4. Variables
- 5. Environment variables
- 6. List
1. Organization
CMake input files are written in the CMake language
in a source file named CMakeLists.txt
, or end with the .CMake
file extension.
The CMake language source files in the project are organized as:
- Directories (
CMakeLists.txt
), - Scripts (