mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
new port: alembic
This commit is contained in:
parent
0d7961a850
commit
f9a0afb534
4
ports/alembic/CONTROL
Normal file
4
ports/alembic/CONTROL
Normal file
@ -0,0 +1,4 @@
|
||||
Source: alembic
|
||||
Version: 1.7.1
|
||||
Build-Depends:ilmbase
|
||||
Description: Alembic is an open framework for storing and sharing scene data that includes a C++ library, a file format, and client plugins and applications. http://alembic.io/
|
40
ports/alembic/portfile.cmake
Normal file
40
ports/alembic/portfile.cmake
Normal file
@ -0,0 +1,40 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO alembic/alembic
|
||||
REF 1.7.1
|
||||
SHA512 89e30b681a76eaf79b20ebeff62c495971b0eb64b28f249a14bbcf3bdb40df7eda93b0ede299dd5511bd4587a2cc2d4ebd851fb89bf999fdccc31fee3cffbba2
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH "lib/cmake/Alembic")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcdiff.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcecho.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcechobounds.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcls.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abcstitcher.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/abctree.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcdiff.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcecho.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcechobounds.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcls.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abcstitcher.exe)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/abctree.exe)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/Alembic.dll ${CURRENT_PACKAGES_DIR}/bin/Alembic.dll)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/Alembic.dll ${CURRENT_PACKAGES_DIR}/debug/bin/Alembic.dll)
|
||||
|
||||
# Put the license file where vcpkg expects it
|
||||
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/Alembic/)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/Alembic/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/Alembic/copyright)
|
Loading…
x
Reference in New Issue
Block a user