cmake-tools/run-cmake
GitHub action to run CMake
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Mode in which CMake is running : configure, build, install, all | no | configure |
| binary_dir | Path to directory which CMake will use as the root of build directory. | no | ../build |
| source_dir | Path to root directory of the CMake project to build. | no | ./ |
| initial_cache | Pre-load a script to populate the cache. | no | "" |
| variables | Variable to set | no | "" |
| remove_variables | Remove matching entries from CMake CACHE. | no | "" |
| generator | Generator to use (Unix Makefiles on Linux and macOS, NMake Makefiles in Windows) | no | "" |
| toolset | Toolset specification for the generator, if supported. | no | "" |
| platform | Specify platform name if supported by generator. | no | "" |
| toolchain | Specify the cross compiling toolchain file. | no | "" |
| install_prefix | Specify the installation directory, used by the CMAKE_INSTALL_PREFIX variable | no | ../install |
| project_file | Specify an alternate project file name. | no | "" |
| configure_warnings | Enable warnings. Choice is : none, deprecated, warning, developer | no | "" |
| configure_warnings_as_errors | Enable warnings as errors. Choice is : none, deprecated, warning, developer | no | "" |
| list_cache_variables | List cached variables. Choice is : no, cache, cache_help, advanced, advanced_help | no | "" |
| graphviz | Generate graphviz of dependencies, see CMakeGraphVizOptions for more | no | "" |
| log_level | Set the log level | no | "" |
| log_context | Enable the outputting context attached to each message. | no | "" |
| parallel | The maximum number of concurrent processes to use when building. If omitted the number of core available is used. (CMake 3.12+) | no | "" |
| build_targets | Build targets provided instead of the default target. Multiple targets may be given, separated by spaces | no | "" |
| config | For multi-configuration tools, choose configuration | no | "" |
| clean_first | Build target clean first, then build | no | "" |
| resolve_package_references | Resolve remote package references from external package managers (e.g. NuGet) before build | no | "" |
| build_verbose | Enable verbose output - if supported - including the build commands to be executed | no | "" |
| to_native_tool | Pass remaining options to the native tool | no | "" |
| component | Component-based install. Only install component | no | "" |
| default_directory_permissions | Default directory install permissions | no | "" |
| override_install_prefix | Override the installation prefix | no | "" |
| strip | Strip before installing | no | false |
| install_verbose | Enable verbose output | no | false |
Outputs
no outputs