[neko-function] Updated version to v1.0.9 (#48479)

This commit is contained in:
Hoshi
2025-11-27 07:41:14 +09:00
committed by GitHub
parent 660ab48013
commit 06903b819d
4 changed files with 13 additions and 17 deletions

View File

@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO moehoshio/NekoFunction
REF v1.0.7
SHA512 afe897309bf9c793268b34c7410fa986c5f123a1440dc6542c493c0c763642697d387df2f917c2f1dad9eb862ad03da0348e76f324289466dbcb3ff01cece81b
REF v1.0.11
SHA512 3fbdba19085d76fe747ec38a2a4ad1e41c5d67f0e5ae320982bde35f796c9d89cbd304e6b11ef1bb4fa7101698f3b6737c6ddf94bd7f46f8f4e4061ef132c6ce
HEAD_REF main
)
@@ -12,16 +12,13 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
hash NEKO_FUNCTION_ENABLE_HASH
)
function(neko_function_is_header_only OUT_IS_HEADER_ONLY)
if(NOT "archive" IN_LIST FEATURES AND NOT "hash" IN_LIST FEATURES)
set(${OUT_IS_HEADER_ONLY} TRUE PARENT_SCOPE)
else()
set(${OUT_IS_HEADER_ONLY} FALSE PARENT_SCOPE)
endif()
endfunction()
if("archive" IN_LIST FEATURES)
set(NEKO_FUNCTION_IS_HEADER_ONLY FALSE)
else()
set(NEKO_FUNCTION_IS_HEADER_ONLY TRUE)
endif()
neko_function_is_header_only(IS_HEADER_ONLY)
if(IS_HEADER_ONLY)
if(NEKO_FUNCTION_IS_HEADER_ONLY)
set(VCPKG_BUILD_TYPE release)
endif()
@@ -39,8 +36,7 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/NekoFunction PACKAGE_NAME nekofun
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
neko_function_is_header_only(IS_HEADER_ONLY)
if(IS_HEADER_ONLY)
if(NEKO_FUNCTION_IS_HEADER_ONLY)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
endif()

View File

@@ -1,6 +1,6 @@
{
"name": "neko-function",
"version": "1.0.7",
"version": "1.0.11",
"description": "A comprehensive modern C++ utility library that provides practical functions for common programming tasks.",
"homepage": "https://github.com/moehoshio/NekoFunction",
"license": "MIT OR Apache-2.0",

View File

@@ -6793,7 +6793,7 @@
"port-version": 0
},
"neko-function": {
"baseline": "1.0.7",
"baseline": "1.0.11",
"port-version": 0
},
"neko-schema": {

View File

@@ -1,8 +1,8 @@
{
"versions": [
{
"git-tree": "0862808eeeb838880afa943db803a1873f230fbe",
"version": "1.0.7",
"git-tree": "12441d40c29162ed4b6fb0d50cd5670c9633407d",
"version": "1.0.11",
"port-version": 0
}
]