Modules§
- block
- break
- cmake_
host_ system_ information - cmake_
language - cmake_
minimum_ required - cmake_
parse_ arguments - cmake_
path - cmake_
policy - configure_
file - continue
- else
- elseif
- endblock
- endforeach
- endfunction
- endif
- endmacro
- endwhile
- execute_
process - file
- find_
file - find_
library - find_
package - find_
path - find_
program - foreach
- function
- get_
cmake_ property - get_
directory_ property - get_
filename_ component - get_
property - if
- include
- include_
guard - list
- macro
- mark_
as_ advanced - math
- message
- option
- return
- separate_
arguments - set
- set_
directory_ properties - set_
property - site_
name - string
- unset
- variable_
watch - while
Structs§
- Block
- Evaluate a group of commands with a dedicated variable and/or policy scope.
- Break
- Break from an enclosing foreach or while loop.
- CMake
Host System Information - Query various host system information.
- CMake
Minimum Required - Require a minimum version of cmake.
- Configure
File - Copy a file to another location and modify its contents.
- Continue
- Continue to the top of enclosing foreach or while loop.
- Else
- Starts the else portion of an if block.
- ElseIf
- Starts an elseif portion of an if block.
- EndBlock
- Ends a list of commands in a block() and removes the scopes created by the block() command.
- EndFor
Each - Ends a list of commands in a foreach block.
- EndFunction
- Ends a list of commands in a function block.
- EndIf
- Ends a list of commands in an if block.
- EndMacro
- Ends a list of commands in a macro block.
- EndWhile
- Ends a list of commands in a while block.
- Execute
Process - Execute one or more child processes.
- Function
- Start recording a function for later invocation as a command.
- GetC
Make Property - Get a global property of the CMake instance.
- GetDirectory
Property - Get a property of DIRECTORY scope.
- GetFilename
Component - Get a specific component of a full filename.
- GetProperty
- Get a property.
- If
- Conditionally execute a group of commands.
- Include
- Load and run CMake code from a file or module.
- Include
Guard - Provides an include guard for the file currently being processed by CMake.
- Macro
- Start recording a macro for later invocation as a command
- Mark
AsAdvanced - Mark cmake cached variables as advanced.
- Math
- Evaluate a mathematical expression.
- Option
- Provide a boolean option that the user can optionally select.
- Return
- Return from a file, directory or function.
- Separate
Arguments - Parse command-line arguments into a semicolon-separated list.
- SetDirectory
Properties - Set properties of the current directory and subdirectories.
- SetProperty
- Set a named property in a given scope.
- Site
Name - Set the given variable to the name of the computer.
- Unset
- Unset a variable, cache variable, or environment variable.
- Variable
Watch - Watch the CMake variable for change.
- While
- Evaluate a group of commands while a condition is true
Enums§
- CMake
Language - Call meta-operations on CMake commands.
- CMake
Parse Arguments - Parse function or macro arguments.
- CMake
Path - This command is for the manipulation of paths.
- CMake
Policy - Manage CMake Policy settings.
- File
- File manipulation command.
- Find
File - This command is used to find a full path to named file.
- Find
Library - This command is used to find a library.
- Find
Package - Find a package
- Find
Path - This command is used to find a directory containing the named file.
- Find
Program - This command is used to find a program.
- ForEach
- Evaluate a group of commands for each value in a list.
- List
- List operations.
- Message
- Log a message.
- Set
- Set a normal, cache, or environment variable to a given value.
- String
- String operations.