2020-12-28 17:28:53 -08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Microsoft/DirectXMath
|
2024-01-02 14:37:52 -08:00
|
|
|
REF dec2023
|
|
|
|
SHA512 ddb5fdb4ef2d524990b0eba254e8395e0c3278a49c37889eef97c977b9d72c4983305c7e2a5b732e05ee54819e0d4aea134a1419f713dda4da386d1bad2d3580
|
[directxmath, directxtex, directxmesh, directxtk, directxtk12, uvatlas] ports updated (#23332)
* [directxmath, directxmesh, directxtex, directxtk, directxtk12, uvatlas] ports updated to February 2022 release
* Update baseline
* Updated directxmath to use non-deprecated functions
* Refresh baseline
* Updated for master-to-main rename
* Refresh baseline
* Remove en-us specific doc link
* Refresh version baseline
2022-03-02 14:58:20 -08:00
|
|
|
HEAD_REF main
|
2020-12-28 17:28:53 -08:00
|
|
|
)
|
|
|
|
|
[directxmath, directxtex, directxmesh, directxtk, directxtk12, uvatlas] ports updated (#23332)
* [directxmath, directxmesh, directxtex, directxtk, directxtk12, uvatlas] ports updated to February 2022 release
* Update baseline
* Updated directxmath to use non-deprecated functions
* Refresh baseline
* Updated for master-to-main rename
* Refresh baseline
* Remove en-us specific doc link
* Refresh version baseline
2022-03-02 14:58:20 -08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-12-28 17:28:53 -08:00
|
|
|
)
|
|
|
|
|
[directxmath, directxtex, directxmesh, directxtk, directxtk12, uvatlas] ports updated (#23332)
* [directxmath, directxmesh, directxtex, directxtk, directxtk12, uvatlas] ports updated to February 2022 release
* Update baseline
* Updated directxmath to use non-deprecated functions
* Refresh baseline
* Updated for master-to-main rename
* Refresh baseline
* Remove en-us specific doc link
* Refresh version baseline
2022-03-02 14:58:20 -08:00
|
|
|
vcpkg_cmake_install()
|
2024-01-02 14:37:52 -08:00
|
|
|
|
|
|
|
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/DirectXMath.pc" DESTINATION "${CURRENT_PACKAGES_DIR}/share/pkgconfig")
|
|
|
|
|
|
|
|
vcpkg_fixup_pkgconfig()
|
2022-12-14 10:40:15 -08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/directxmath)
|
2020-12-28 17:28:53 -08:00
|
|
|
|
|
|
|
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
|
|
|
vcpkg_download_distfile(
|
|
|
|
SAL_HEADER
|
|
|
|
URLS "https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h"
|
|
|
|
FILENAME "sal.h"
|
|
|
|
SHA512 1643571673195d9eb892d2f2ac76eac7113ef7aa0ca116d79f3e4d3dc9df8a31600a9668b7e7678dfbe5a76906f9e0734ef8d6db0903ccc68fc742dd8238d8b0
|
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL
|
|
|
|
${DOWNLOADS}/sal.h
|
2022-12-14 10:40:15 -08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include/directxmath)
|
2020-12-28 17:28:53 -08:00
|
|
|
endif()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
|
2024-01-02 14:37:52 -08:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|