mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 06:39:00 +08:00
0c019c6665
New release of the [cuda-api-wrappers](https://github.com/eyalroz/cuda-api-wrappers/) library: - [X] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). *I think so! First time uploading an update PR* - [X] SHA512s are updated for each updated download. - [X] The "supports" clause reflects platforms that may be fixed by this new version. *No supports clause, hope that's ok.* - [X] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. *Have not touched any such thing* - [X] Any patches that are no longer applied are deleted from the port's directory. *No patches before or now* - [X] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [X] Only one version is added to each modified port's versions file. *I replaced a version, I didn't add one*
26 lines
715 B
CMake
26 lines
715 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO eyalroz/cuda-api-wrappers
|
|
REF "v${VERSION}"
|
|
SHA512 c6e9e2ce6e1007f314b953b30ff1981e7fd426a9a5bdd45930dd71bdf8ea240120640504c0bf11c62e52bf7302d49c853e40b03983772bacf9ceec4980e532b3
|
|
HEAD_REF master
|
|
)
|
|
|
|
# head only library
|
|
set(VCPKG_BUILD_TYPE release)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DCAW_BUILD_EXAMPLES=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|