mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
[vcpkg/manifest] write manifest install logs into the build dir. (#13711)
This commit is contained in:
parent
b31c6fd389
commit
c902748897
@ -363,7 +363,10 @@ if(VCPKG_MANIFEST_MODE AND VCPKG_MANIFEST_INSTALL AND NOT _CMAKE_IN_TRY_COMPILE)
|
|||||||
"--x-manifest-root=${_VCPKG_MANIFEST_DIR}"
|
"--x-manifest-root=${_VCPKG_MANIFEST_DIR}"
|
||||||
"--x-install-root=${_VCPKG_INSTALLED_DIR}"
|
"--x-install-root=${_VCPKG_INSTALLED_DIR}"
|
||||||
${_VCPKG_ADDITIONAL_MANIFEST_PARAMS}
|
${_VCPKG_ADDITIONAL_MANIFEST_PARAMS}
|
||||||
RESULT_VARIABLE _VCPKG_INSTALL_RESULT)
|
OUTPUT_FILE "${CMAKE_BINARY_DIR}/vcpkg-manifest-install-out.log"
|
||||||
|
ERROR_FILE "${CMAKE_BINARY_DIR}/vcpkg-manifest-install-err.log"
|
||||||
|
RESULT_VARIABLE _VCPKG_INSTALL_RESULT
|
||||||
|
)
|
||||||
|
|
||||||
if (NOT _VCPKG_INSTALL_RESULT EQUAL 0)
|
if (NOT _VCPKG_INSTALL_RESULT EQUAL 0)
|
||||||
message(FATAL_ERROR "Running vcpkg install - failed")
|
message(FATAL_ERROR "Running vcpkg install - failed")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user