-
Notifications
You must be signed in to change notification settings - Fork 7.5k
[logme] New port #49397
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
[logme] New port #49397
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7340e9f
Add logme port
emishkurov ed4d36e
logme: skip gtest discovery when cross-compiling
emishkurov fbea62e
logme: fix cross gtest discovery and bump port-version
emishkurov 15262bf
logme: update to 2.4.1 + disable tests
emishkurov 152ca67
logme: disable examples/tools on UWP
emishkurov bf9008a
logme: update to 2.4.3
emishkurov 8583d29
Delete usage and fix version database.
BillyONeal 65ffd5d
Merge pull request #1 from BillyONeal/pr-49397-logme
efmsoft 28d636d
changelog: add 2.4.4 build fix entry
emishkurov f071859
logme: update to 2.4.4
emishkurov 4df7b9a
ci: retrigger
emishkurov ebe79f6
Fix version database again.
BillyONeal f4254e6
logme: drop examples feature and install logmectl via vcpkg_copy_tools
emishkurov 468f5af
Merge branch 'add-logme' of https://github.com/efmsoft/vcpkg into add…
emishkurov 570f2e9
logme: drop tools feature to avoid vcpkg_copy_tools issues
emishkurov 8b31e63
logme: bump port-version
emishkurov a3c8305
Update ports/logme/portfile.cmake
efmsoft 7349a43
Update ports/logme/vcpkg.json
efmsoft ba7bf40
Update versions/baseline.json
efmsoft a3c42b4
logme: regenerate versions database for 2.4.4
emishkurov b534e0e
vcpkg-cmake vcpkg-cmake-config host dependencies
vicroms 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,29 @@ | ||
| vcpkg_from_github( | ||
| OUT_SOURCE_PATH SOURCE_PATH | ||
| REPO efmsoft/logme | ||
| REF "v${VERSION}" | ||
| SHA512 49e1e980d0c8079757d44e16e435dd8bea4c42f43c914d29d5f385e7bcd4068d461c1120b844bdc7c8cf6ced8fe9abc1ddef51f67f3cb04b1df46d2fbe71b40d | ||
| HEAD_REF master | ||
| ) | ||
|
|
||
| string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" _logme_static_opt) | ||
| string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" _logme_dynamic_opt) | ||
|
|
||
| vcpkg_cmake_configure( | ||
| SOURCE_PATH "${SOURCE_PATH}" | ||
| OPTIONS | ||
| -DLOGME_BUILD_STATIC=${_logme_static_opt} | ||
| -DLOGME_BUILD_DYNAMIC=${_logme_dynamic_opt} | ||
| -DLOGME_BUILD_TESTS=OFF | ||
| -DLOGME_BUILD_EXAMPLES=OFF | ||
| -DLOGME_BUILD_TOOLS=OFF | ||
| -DUSE_JSONCPP=ON | ||
| ) | ||
|
|
||
| vcpkg_cmake_install() | ||
|
|
||
| vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/logme) | ||
|
|
||
| file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
|
|
||
| vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
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": "logme", | ||
| "version": "2.4.4", | ||
| "description": "Cross-platform C/C++ logging framework: channels and routing, multiple backends, colored output, and runtime dynamic control.", | ||
| "homepage": "https://github.com/efmsoft/logme", | ||
| "license": "Apache-2.0", | ||
| "dependencies": [ | ||
| "jsoncpp", | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ] | ||
| } |
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": "eede1cb6626f8f8edd45249fa174376b17eb8b1a", | ||
| "version": "2.4.4", | ||
| "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.
Uh oh!
There was an error while loading. Please reload this page.