cmake¶
footman._stubs.cmake.Cmake
¶
Bases: Tool
__call__
¶
__call__(
*args: str,
A: _Value = ...,
B: _Value = ...,
C: _Value = ...,
D: _Value = ...,
E: _Flag = ...,
G: _Value = ...,
L: _Flag = ...,
LR: _Flag = ...,
N: _Flag = ...,
P: _Value = ...,
S: _Value = ...,
T: _Value = ...,
U: _Value = ...,
W: _Flag = ...,
Werror: _Value = ...,
Wno_: _Flag = ...,
Wno_error: _Value = ...,
build: _Value = ...,
check_system_vars: _Flag = ...,
compile_no_warning_as_error: _Flag = ...,
debug_find: _Flag = ...,
debug_find_pkg: _Value = ...,
debug_find_var: _Value = ...,
debug_output: _Flag = ...,
debug_trycompile: _Flag = ...,
find_package: _Flag = ...,
fresh: _Flag = ...,
graphviz: _Value = ...,
help_command: _Value = ...,
help_command_list: _Value = ...,
help_commands: _Value = ...,
help_diagnostic: _Value = ...,
help_diagnostic_list: _Value = ...,
help_diagnostics: _Value = ...,
help_full: _Value = ...,
help_manual: _Value = ...,
help_manual_list: _Value = ...,
help_module: _Value = ...,
help_module_list: _Value = ...,
help_modules: _Value = ...,
help_policies: _Value = ...,
help_policy: _Value = ...,
help_policy_list: _Value = ...,
help_properties: _Value = ...,
help_property: _Value = ...,
help_property_list: _Value = ...,
help_variable: _Value = ...,
help_variable_list: _Value = ...,
help_variables: _Value = ...,
install: _Value = ...,
install_prefix: _Value = ...,
link_no_warning_as_error: _Flag = ...,
list_presets: _ValuedFlag = ...,
log_context: _Flag = ...,
log_level: _Value = ...,
open: _Value = ...,
preset: _Value = ...,
presets_file: _Value = ...,
print_config_dir: _Flag = ...,
profiling_format: _Value = ...,
profiling_output: _Value = ...,
project_file: _Value = ...,
system_information: _Value = ...,
toolchain: _Value = ...,
trace: _Flag = ...,
trace_expand: _Flag = ...,
trace_format: _Value = ...,
trace_redirect: _Value = ...,
trace_source: _Value = ...,
workflow: _Value = ...,
**flags: Any,
) -> Result
cmake [options]
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
A
|
_Value
|
= Specify platform name if supported by generator. |
...
|
B
|
_Value
|
= Explicitly specify a build directory. |
...
|
C
|
_Value
|
= Pre-load a script to populate the cache. |
...
|
D
|
_Value
|
= Create or update a cmake cache entry. |
...
|
E
|
_Flag
|
= CMake command mode. |
...
|
G
|
_Value
|
= Specify a build system generator. |
...
|
L
|
_Flag
|
= List non-advanced cached variables. |
...
|
LR
|
_Flag
|
= Show cached variables that match the regex. |
...
|
N
|
_Flag
|
= View mode only. |
...
|
P
|
_Value
|
= Process script mode. |
...
|
S
|
_Value
|
= Explicitly specify a source directory. |
...
|
T
|
_Value
|
= Specify toolset name if supported by generator. |
...
|
U
|
_Value
|
= Remove matching entries from CMake cache. |
...
|
W
|
_Flag
|
= Enable the specified category of warnings. |
...
|
Werror
|
_Value
|
= Make the specified category of warnings errors. |
...
|
Wno_
|
_Flag
|
= Suppress the specified category of warnings. |
...
|
Wno_error
|
_Value
|
= Make the specified category of warnings not errors. |
...
|
build
|
_Value
|
= Build a CMake-generated project binary tree. |
...
|
check_system_vars
|
_Flag
|
= Find problems with variable usage in system files. |
...
|
compile_no_warning_as_error
|
_Flag
|
CMAKE_COMPILE_WARNING_AS_ERROR variable. |
...
|
debug_find
|
_Flag
|
= Put cmake find in a debug mode. |
...
|
debug_find_pkg
|
_Value
|
= Limit cmake debug-find to the comma-separated list of packages. |
...
|
debug_find_var
|
_Value
|
= Limit cmake debug-find to the comma-separated list of result variables. |
...
|
debug_output
|
_Flag
|
= Put cmake in a debug mode. |
...
|
debug_trycompile
|
_Flag
|
= Do not delete the try_compile build tree. |
...
|
find_package
|
_Flag
|
= Legacy pkg-config like mode. |
...
|
fresh
|
_Flag
|
= Configure a fresh build tree, removing any existing cache file. |
...
|
graphviz
|
_Value
|
= Generate graphviz of dependencies, see CMakeGraphVizOptions.cmake for more. |
...
|
help_commands
|
_Value
|
= Print cmake-commands manual and exit. |
...
|
help_diagnostic
|
_Value
|
= Print help for one diagnostic and exit. |
...
|
help_diagnostic_list
|
_Value
|
= List diagnostics with help available and exit. |
...
|
help_diagnostics
|
_Value
|
= Print cmake-diagnostics manual and exit. |
...
|
help_full
|
_Value
|
= Print all help manuals and exit. |
...
|
help_manual_list
|
_Value
|
= List help manuals available and exit. |
...
|
help_module_list
|
_Value
|
= List modules with help available and exit. |
...
|
help_modules
|
_Value
|
= Print cmake-modules manual and exit. |
...
|
help_policies
|
_Value
|
= Print cmake-policies manual and exit. |
...
|
help_policy_list
|
_Value
|
= List policies with help available and exit. |
...
|
help_properties
|
_Value
|
= Print cmake-properties manual and exit. |
...
|
help_property
|
_Value
|
= Print help for one property and exit. |
...
|
help_property_list
|
_Value
|
exit. |
...
|
help_variables
|
_Value
|
= Print cmake-variables manual and exit. |
...
|
install
|
_Value
|
= Install a CMake-generated project binary tree. |
...
|
install_prefix
|
_Value
|
[CMAKE_INSTALL_PREFIX]. |
...
|
link_no_warning_as_error
|
_Flag
|
= Ignore LINK_WARNING_AS_ERROR property and CMAKE_LINK_WARNING_AS_ERROR variable. |
...
|
list_presets
|
_ValuedFlag
|
= List available presets. Value optional: |
...
|
log_context
|
_Flag
|
= Prepend log messages with context, if given. |
...
|
log_level
|
_Value
|
= Set the verbosity of messages from CMake files. |
...
|
open
|
_Value
|
= Open generated project in the associated application. |
...
|
preset
|
_Value
|
= Specify a configure preset. |
...
|
presets_file
|
_Value
|
= Specify the path to a presets file. |
...
|
print_config_dir
|
_Flag
|
= Print CMake config directory for user-wide FileAPI queries. |
...
|
profiling_format
|
_Value
|
= Output data for profiling CMake scripts. |
...
|
profiling_output
|
_Value
|
= Select an output path for the profiling data enabled through --profiling-format. |
...
|
project_file
|
_Value
|
= Specify an alternate project file name. |
...
|
system_information
|
_Value
|
= Dump information about this system. |
...
|
toolchain
|
_Value
|
= Specify toolchain file [CMAKE_TOOLCHAIN_FILE]. |
...
|
trace
|
_Flag
|
= Put cmake in trace mode. |
...
|
trace_expand
|
_Flag
|
= Put cmake in trace mode with variable expansion. |
...
|
trace_format
|
_Value
|
= Set the output format of the trace. |
...
|
trace_redirect
|
_Value
|
= Redirect trace output to a file instead of stderr. |
...
|
trace_source
|
_Value
|
= Trace only this CMake file/module. |
...
|
workflow
|
_Value
|
= Run a workflow preset. |
...
|