[easy-profiler] add new port (#49812)

This commit is contained in:
robbert-ef 2026-02-05 21:43:19 +01:00 committed by GitHub
parent e2860d8451
commit c71d7047c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,39 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO yse/easy_profiler
REF "v${VERSION}"
SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f
HEAD_REF develop
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DEASY_PROFILER_NO_GUI=ON
-DEASY_PROFILER_NO_SAMPLES=ON
)
vcpkg_cmake_install()
vcpkg_copy_tools(
TOOL_NAMES "profiler_converter"
AUTO_CLEAN
)
vcpkg_cmake_config_fixup(
CONFIG_PATH "lib/cmake/easy_profiler"
PACKAGE_NAME easy_profiler
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.APACHE")
file(REMOVE "${CURRENT_PACKAGES_DIR}/LICENSE.MIT")
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.APACHE")
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/LICENSE.MIT")
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/LICENSE"
"${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT"
"${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE"
)

View File

@ -0,0 +1,18 @@
{
"name": "easy-profiler",
"version": "2.1.0",
"description": "Lightweight profiler library for c++",
"homepage": "https://github.com/yse/easy_profiler",
"license": "MIT OR Apache-2.0",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2680,6 +2680,10 @@
"baseline": "9.97.1",
"port-version": 1
},
"easy-profiler": {
"baseline": "2.1.0",
"port-version": 0
},
"eathread": {
"baseline": "1.32.09",
"port-version": 5

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "6723deb535025f823e691a80a81d87bcc7ca6ce7",
"version": "2.1.0",
"port-version": 0
}
]
}