Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
30 changes: 17 additions & 13 deletions ports/easyprofiler/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO yse/easy_profiler
REF "v${VERSION}"
SHA512 101d84a903315456ac24d060da6269e02ac0030e966b801910543c39980042e92082b2430daaa9ab48ced90fb5fc0adf43dfab647615742d32950a1667c3630f
HEAD_REF develop
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
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
TOOL_NAMES "profiler_converter"
AUTO_CLEAN
)

vcpkg_cmake_config_fixup(
CONFIG_PATH "lib/cmake/easy_profiler"
PACKAGE_NAME easy_profiler
CONFIG_PATH "lib/cmake/easy_profiler"
PACKAGE_NAME easy_profiler
)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
Expand All @@ -31,5 +31,9 @@ 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")
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/LICENSE"
"${SOURCE_PATH}/easy_profiler_core/LICENSE.MIT"
"${SOURCE_PATH}/easy_profiler_core/LICENSE.APACHE"
)
32 changes: 16 additions & 16 deletions ports/easyprofiler/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "easyprofiler",
"version": "2.1.0",
"description": "Lightweight profiler library for c++",
"homepage": "https://github.com/yse/easy_profiler",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
"name": "easyprofiler",
"version": "2.1.0",
"description": "Lightweight profiler library for c++",
"homepage": "https://github.com/yse/easy_profiler",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
9 changes: 9 additions & 0 deletions versions/e-/easyprofiler.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5eeb0c3a3ad8c3407539212bf3b3203e450ef337",
"version": "2.1.0",
"port-version": 0
}
]
}