early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,30 @@
cmake_minimum_required(VERSION 3.3.0)
project( convectionkernels )
file(GLOB SRC_FILES *.cpp)
file(GLOB HDR_FILES *.h)
add_library( ${PROJECT_NAME}
STATIC
${HDR_FILES}
${SRC_FILES}
)
set_property( TARGET ${PROJECT_NAME}
PROPERTY PUBLIC_HEADER ${HDR_FILES}
)
target_include_directories( ${PROJECT_NAME}
PRIVATE ${CMAKE_CURRENT_LIST_DIR}
INTERFACE $<INSTALL_INTERFACE:include>
)
install( TARGETS ${PROJECT_NAME}
EXPORT unofficial-convectionkernels-config
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
PUBLIC_HEADER DESTINATION include/convectionkernels
)
install( EXPORT unofficial-convectionkernels-config
FILE unofficial-convectionkernels-config.cmake
NAMESPACE unofficial::convectionkernels::
DESTINATION share/unofficial-convectionkernels
)

View File

@@ -0,0 +1,21 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO elasota/ConvectionKernels
REF dc2dbbe0ae2cf2be06ef56d1021e2222a56c7fe2
SHA512 2bf3aff1acb7b2365b882b4c1274ea8bcb9aea3015b5009e0ec50279122ecc623074d0f4fa04ddf8cd457e1f6868075a773bf8a2fa5b4fa9e2fd51d0a76d2560
HEAD_REF master
)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-convectionkernels)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@@ -0,0 +1,17 @@
{
"name": "convectionkernels",
"version-date": "2022-06-08",
"description": "Fast, high-quality texture compression library for many formats, also known as cvtt",
"homepage": "https://github.com/elasota/ConvectionKernels",
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}