[teemo] Fix string replace error.#22244
[teemo] Fix string replace error.#22244BillyONeal merged 26 commits intomicrosoft:masterfrom winsoft666:master
Conversation
|
I think we don't need this, do we? |
The old code can not replace string correctly. |
I'm not familiar with cmake grammar. |
|
Ah you are the owner, I have some questions:
|
|
When building dynamic, we should undefined TEEMO_STATIC in projects that use teemo library; Obviously, define/undefined TEEMO_STATIC in projects that use teemo library is a good method. By string substitution, it is only a stopgap measure |
|
Does there have any other places to use this macro? |
No |
Therefore, I think we can keep this code since there is no other place to use that:
Do you agree that? |
I don't understand what's your meaning, and keep what code? All of my updated code is designed to do just that:
The old code has some bug, can not replace correctly. |
The current code already does this. |
@JackBoosY The current substitution contains a cmake generator expression, but this expression never goes through a generation step, so it doesn't achieve the desired out come. |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 05c411da6619971fd033c8a9d20c8cce07d5e42a -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/baseline.json b/versions/baseline.json
index 88a9ff8..e89b245 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -6710,7 +6710,7 @@
},
"teemo": {
"baseline": "2.5",
- "port-version": 0
+ "port-version": 1
},
"telnetpp": {
"baseline": "2.1.2",
diff --git a/versions/t-/teemo.json b/versions/t-/teemo.json
index 7be73f0..5227395 100644
--- a/versions/t-/teemo.json
+++ b/versions/t-/teemo.json
@@ -1,5 +1,10 @@
{
"versions": [
+ {
+ "git-tree": "5d9a099bba6f647165ff3b64e69dcc300bacfca9",
+ "version": "2.5",
+ "port-version": 1
+ },
{
"git-tree": "272a7ccdbd7429e98513b1d4c9c394406fa70d42",
"version": "2.5",|
Oh sorry, I mixed up the deleted part and the newly added part. |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/teemo/vcpkg.json b/ports/teemo/vcpkg.json
index 02890be..755fcbf 100644
--- a/ports/teemo/vcpkg.json
+++ b/ports/teemo/vcpkg.json
@@ -2,9 +2,9 @@
"name": "teemo",
"version": "2.5",
"port-version": 1,
+ "maintainers": "winsoft666 <winsoft666@outlook.com>",
"description": "C++ File Download Library, support Multithreading, Breakpoint Transmission, Speed Limit, Real-time Speed.",
"homepage": "https://github.com/winsoft666/teemo",
- "maintainers": "winsoft666 <winsoft666@outlook.com>",
"supports": "!osx & !uwp & !arm",
"dependencies": [
{After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 05c411da6619971fd033c8a9d20c8cce07d5e42a -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/t-/teemo.json b/versions/t-/teemo.json
index 5227395..0b5a2ca 100644
--- a/versions/t-/teemo.json
+++ b/versions/t-/teemo.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "5d9a099bba6f647165ff3b64e69dcc300bacfca9",
+ "git-tree": "d92f8edfaa4c8a208cfa6253c6d2ebd8beeaf303",
"version": "2.5",
"port-version": 1
},|
LGTM. |
There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/teemo/vcpkg.json b/ports/teemo/vcpkg.json
index 02890be..755fcbf 100644
--- a/ports/teemo/vcpkg.json
+++ b/ports/teemo/vcpkg.json
@@ -2,9 +2,9 @@
"name": "teemo",
"version": "2.5",
"port-version": 1,
+ "maintainers": "winsoft666 <winsoft666@outlook.com>",
"description": "C++ File Download Library, support Multithreading, Breakpoint Transmission, Speed Limit, Real-time Speed.",
"homepage": "https://github.com/winsoft666/teemo",
- "maintainers": "winsoft666 <winsoft666@outlook.com>",
"supports": "!osx & !uwp & !arm",
"dependencies": [
{After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 05c411da6619971fd033c8a9d20c8cce07d5e42a -- versions
./vcpkg x-add-version --allDiff
diff --git a/versions/t-/teemo.json b/versions/t-/teemo.json
index 6a5f416..0b5a2ca 100644
--- a/versions/t-/teemo.json
+++ b/versions/t-/teemo.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "4d7bc3440769e15a00e84e168257bda517a9f0b2",
+ "git-tree": "d92f8edfaa4c8a208cfa6253c6d2ebd8beeaf303",
"version": "2.5",
"port-version": 1
},There was a problem hiding this comment.
This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/teemo/vcpkg.json b/ports/teemo/vcpkg.json
index 02890be..755fcbf 100644
--- a/ports/teemo/vcpkg.json
+++ b/ports/teemo/vcpkg.json
@@ -2,9 +2,9 @@
"name": "teemo",
"version": "2.5",
"port-version": 1,
+ "maintainers": "winsoft666 <winsoft666@outlook.com>",
"description": "C++ File Download Library, support Multithreading, Breakpoint Transmission, Speed Limit, Real-time Speed.",
"homepage": "https://github.com/winsoft666/teemo",
- "maintainers": "winsoft666 <winsoft666@outlook.com>",
"supports": "!osx & !uwp & !arm",
"dependencies": [
{|
Thanks for the fix! |
Describe the pull request
What does your PR fix?
Fixes string replace error.
Which triplets are supported/not supported? Have you updated the CI baseline?
<linux, windows / macos>,
Does your PR follow the maintainer guide?
YesIf you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/