-
Notifications
You must be signed in to change notification settings - Fork 7.5k
[easy-profiler] add new port #49812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[easy-profiler] add new port #49812
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
73cac95
[easyprofiler] add new port
robbert-ef d4a1ba7
Whitespace nitpicks.
BillyONeal edb90d3
Merge pull request #1 from BillyONeal/pr-49812-easyprofiler
robbert-ef b262bcd
Renamed to easy-profiler and updated license
robbert-ef a805a06
Update version database
robbert-ef File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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" | ||
| ) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 | ||
| } | ||
| ] | ||
| } | ||
|
Comment on lines
+1
to
+18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would say "we should make that a check" and then I remembered we actually did and that's why it's red 😅 |
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "versions": [ | ||
| { | ||
| "git-tree": "6723deb535025f823e691a80a81d87bcc7ca6ce7", | ||
| "version": "2.1.0", | ||
| "port-version": 0 | ||
| } | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, and similar everywhere else.