mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-02 20:10:51 +00:00
74b57c8136795e2ac043538bab9a20814f18134c
CMake Action
Configure and build CMake project on GitHub Actions.
Usage
For more information, see action.yml and GitHub Actions guide.
Inputs
Note: All inputs are optional.
| Name | Value Type | Description |
|---|---|---|
source-dir |
Path | Source directory of the CMake project. Defaults to current directory. |
build-dir |
Path | Build directory of the CMake project. Defaults to build directory in current directory. |
targets |
Multiple strings | List of build targets. Could be specified more than one. Separate each target with a space or a new line. |
generator |
String | Build system generator of the CMake project. |
c-compiler |
String | Preferred executable for compiling C language files. |
cxx-compiler |
String | Preferred executable for compiling CXX language files. |
args |
Multiple strings | Additional arguments passed during the CMake configuration. Could be specified more than one. Separate each target with a space or a new line. |
Languages
TypeScript
98.3%
JavaScript
1.7%