vcpkg/docs/maintainers/vcpkg_execute_build_process.md
Qingnan Duan 5220830089
Remove a ')' character in the documentation (#16515)
* Remove extra )

* fix doc

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-04-28 18:03:43 -07:00

1.1 KiB

vcpkg_execute_build_process

The latest version of this document lives in the vcpkg repo.

Execute a required build process

Usage

vcpkg_execute_build_process(
    COMMAND <cmd> [<args>...]
    [NO_PARALLEL_COMMAND <cmd> [<args>...]]
    WORKING_DIRECTORY </path/to/dir>
    LOGNAME <log_name>
)

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

Source

scripts/cmake/vcpkg_execute_build_process.cmake