mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 13:28:01 +08:00
[spirv-cross] small cleanup (#17367)
Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com>
This commit is contained in:
parent
03d35b0303
commit
66b2cfb7e2
@ -1,4 +1,3 @@
|
||||
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
vcpkg_from_github(
|
||||
@ -33,11 +32,12 @@ foreach(COMPONENT core c cpp glsl hlsl msl reflect util)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/spirv_cross_${COMPONENT}/cmake TARGET_PATH share/spirv_cross_${COMPONENT})
|
||||
endforeach()
|
||||
|
||||
file(GLOB EXES "${CURRENT_PACKAGES_DIR}/bin/*")
|
||||
file(COPY ${EXES} DESTINATION ${CURRENT_PACKAGES_DIR}/tools)
|
||||
vcpkg_copy_tools(
|
||||
TOOL_NAMES spirv-cross
|
||||
AUTO_CLEAN
|
||||
)
|
||||
|
||||
# cleanup
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/spirv-cross/copyright COPYONLY)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "spirv-cross",
|
||||
"version-date": "2021-01-15",
|
||||
"port-version": 1,
|
||||
"description": "SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.",
|
||||
"homepage": "https://github.com/KhronosGroup/SPIRV-Cross",
|
||||
"dependencies": [
|
||||
|
@ -5746,7 +5746,7 @@
|
||||
},
|
||||
"spirv-cross": {
|
||||
"baseline": "2021-01-15",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"spirv-headers": {
|
||||
"baseline": "2021-03-25",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ea4c1654c9909ec0b4cba6abdf37dbd1ac6bba53",
|
||||
"version-date": "2021-01-15",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "c9d976a350220005632d3c23ff714e0cf267b836",
|
||||
"version-date": "2021-01-15",
|
||||
|
Loading…
x
Reference in New Issue
Block a user