mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 07:39:00 +08:00
7003b953c7
* port for spirv-reflect * commiting results of vcpkg x-add-version --all * fixing deprecated function calls * removing unused messages * fixing version issue * fixing version issue wrong sha * fixing version issue missing port version * fixing version issue missing port version and wrong sha * update version db * update version db * port version bump * Update version database * Apply suggestions from code review Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Update versions db * CMakeLists substitution instead of patch * remove commented outdated command * version update * Update ports/spirv-reflect/CMakeLists.txt Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update version db * Remove GNUInstallDirs * update version db * Update ports/spirv-reflect/CMakeLists.txt Co-authored-by: Billy O'Neal <bion@microsoft.com> * Adding @BillyONeal suggestions * Removing unneeded check as suggested by @BillyONeal * Apply suggestions from code review Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * update version db * Drop "unofficial" from the unnamespaced target name. * Fix version database. Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Co-authored-by: Billy O'Neal <bion@microsoft.com>
23 lines
760 B
CMake
23 lines
760 B
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KhronosGroup/SPIRV-Reflect
|
|
REF d920b79aadafe3ffd52764ac80370b15a611c83a
|
|
SHA512 3e94adb9ec80f356bd51665f10e3e1d8e6236632d259a22fab97a156c6cf6fcbd1afc102ac4578fa3f3725b6cc0cbdf530c85fa133154d6c4e313324c1d6bbf4
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/spirv-reflect" RENAME copyright)
|