2020-12-28 17:28:53 -08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Microsoft/DirectXMath
|
2024-10-16 14:43:17 -07:00
|
|
|
REF oct2024
|
|
|
|
SHA512 501a3c8b51cd6d3d4fbcc511c2c37f1d0511bd84d546d5254c2bc81238c11242b9d62c7a153ee110dc9d96a0c7d2544428d8de832c943b680b0cb09d8e3760f2
|
[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
|
2024-12-02 16:35:42 -08:00
|
|
|
PATCHES include-path-fix.patch
|
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
|
2024-02-14 23:03:54 -08:00
|
|
|
URLS "https://raw.githubusercontent.com/dotnet/runtime/v8.0.1/src/coreclr/pal/inc/rt/sal.h"
|
2020-12-28 17:28:53 -08:00
|
|
|
FILENAME "sal.h"
|
2024-02-14 23:03:54 -08:00
|
|
|
SHA512 0f5a80b97564217db2ba3e4624cc9eb308e19cc9911dae21d983c4ab37003f4756473297ba81b386c498514cedc1ef5a3553d7002edc09aeb6a1335df973095f
|
2020-12-28 17:28:53 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
file(INSTALL
|
|
|
|
${DOWNLOADS}/sal.h
|
2024-12-02 16:35:42 -08:00
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
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")
|