2016-09-18 20:50:08 -07:00
|
|
|
function(vcpkg_install_cmake)
|
|
|
|
message(STATUS "Package ${TARGET_TRIPLET}-rel")
|
|
|
|
vcpkg_execute_required_process(
|
2016-11-11 01:14:01 +01:00
|
|
|
COMMAND ${CMAKE_COMMAND} --build . --config Release --target install -- /m
|
2016-09-18 20:50:08 -07:00
|
|
|
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(
|
2016-11-11 01:14:01 +01:00
|
|
|
COMMAND ${CMAKE_COMMAND} --build . --config Debug --target install -- /m
|
2016-09-18 20:50:08 -07:00
|
|
|
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg
|
|
|
|
LOGNAME package-${TARGET_TRIPLET}-dbg
|
|
|
|
)
|
|
|
|
message(STATUS "Package ${TARGET_TRIPLET}-dbg done")
|
|
|
|
endfunction()
|