2019-06-25 16:08:18 -07:00
# vcpkg_execute_build_process
2021-03-11 01:56:07 +08:00
The latest version of this document lives in the [vcpkg repo ](https://github.com/Microsoft/vcpkg/blob/master/docs/maintainers/vcpkg_execute_build_process.md ).
2021-02-28 13:17:19 -08:00
2019-06-25 16:08:18 -07:00
Execute a required build process
## Usage
```cmake
vcpkg_execute_build_process(
COMMAND < cmd > [< args > ...]
[NO_PARALLEL_COMMAND < cmd > [< args > ...]]
WORKING_DIRECTORY < /path/to/dir>
2021-04-29 09:03:43 +08:00
LOGNAME < log_name >
2019-06-25 16:08:18 -07:00
)
```
## Parameters
### COMMAND
The command to be executed, along with its arguments.
### NO_PARALLEL_COMMAND
Optional parameter which specifies a non-parallel command to attempt if a
failure potentially due to parallelism is detected.
### WORKING_DIRECTORY
The directory to execute the command in.
### LOGNAME
The prefix to use for the log files.
This should be a unique name for different triplets so that the logs don't
conflict when building multiple at once.
## Examples
* [icu ](https://github.com/Microsoft/vcpkg/blob/master/ports/icu/portfile.cmake )
## Source
2021-02-28 13:17:19 -08:00
[scripts/cmake/vcpkg\_execute\_build\_process.cmake ](https://github.com/Microsoft/vcpkg/blob/master/scripts/cmake/vcpkg_execute_build_process.cmake )