Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions ports/hical/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Hical61/Hical
REF "v${VERSION}"
SHA512 1e7e1adc340e95e8b36c05481da1995269d59453b06ac539ab3e9310a5b051fce0e485339e3b39812cbeb304b0d9b85d117ac4d79e69406b11f9def7c0e0fa2d
HEAD_REF main
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DHICAL_BUILD_TESTS=OFF
-DHICAL_BUILD_EXAMPLES=OFF
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(
PACKAGE_NAME hical
CONFIG_PATH lib/cmake/hical
)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
4 changes: 4 additions & 0 deletions ports/hical/usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
hical provides CMake integration targets:

find_package(hical CONFIG REQUIRED)
target_link_libraries(main PRIVATE hical::hical_core)
17 changes: 17 additions & 0 deletions ports/hical/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "hical",
"version": "1.0.1",
"description": "Modern C++20/C++26 high-performance web framework based on Boost.Asio/Beast",
"homepage": "https://github.com/Hical61/Hical",
"license": "MIT",
"supports": "!uwp & !xbox & !android & !emscripten",
"dependencies": [
{ "name": "boost-asio" },
{ "name": "boost-beast" },
{ "name": "boost-system" },
{ "name": "boost-json" },
"openssl",
{ "name": "vcpkg-cmake", "host": true },
{ "name": "vcpkg-cmake-config", "host": true }
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3796,6 +3796,10 @@
"baseline": "2.11.0",
"port-version": 0
},
"hical": {
"baseline": "1.0.1",
"port-version": 0
},
"hidapi": {
"baseline": "0.15.0",
"port-version": 1
Expand Down
8 changes: 8 additions & 0 deletions versions/h-/hical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"versions": [
{
"version": "1.0.1",
"git-tree": "1c71ec923f4d1517fc069d1fa3c0fec9829cb3ec"
}
]
}
Loading