mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 03:29:06 +08:00
18 lines
739 B
CMake
18 lines
739 B
CMake
|
function(vcpkg_install_cmake)
|
||
|
message(STATUS "Package ${TARGET_TRIPLET}-rel")
|
||
|
vcpkg_execute_required_process(
|
||
|
COMMAND ${CMAKE_COMMAND} --build . --config Release --target install
|
||
|
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
|
||
|
LOGNAME package-${TARGET_TRIPLET}-rel
|
||
|
)
|
||
|
message(STATUS "Package ${TARGET_TRIPLET}-rel done")
|
||
|
|
||
|
message(STATUS "Package ${TARGET_TRIPLET}-dbg")
|
||
|
vcpkg_execute_required_process(
|
||
|
COMMAND ${CMAKE_COMMAND} --build . --config Debug --target install
|
||
|
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
|
||
|
LOGNAME package-${TARGET_TRIPLET}-dbg
|
||
|
)
|
||
|
message(STATUS "Package ${TARGET_TRIPLET}-dbg done")
|
||
|
endfunction()
|