mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 04:21:47 +08:00
4ee9010c4f
* [backward-cpp] new port * Update ports/backward-cpp/portfile.cmake Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com> * fix version after patch * backward is header only * disable arm and uwp * disable only windows arm --------- Co-authored-by: jim wang <122244446+jimwang118@users.noreply.github.com>
20 lines
581 B
CMake
20 lines
581 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO bombela/backward-cpp
|
|
REF "v${VERSION}"
|
|
SHA512 db0256a54819952ff1d92e05d6ab81fe979d4826ebb6651b6b08c30e7a0091879dfeff33d81f9599462152ce68e61e2c8c42bf039129bc6b28d1e68b1eab039b
|
|
HEAD_REF master
|
|
)
|
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME Backward CONFIG_PATH lib/backward)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|