-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[grpc] Use build_modules to find executable grpc_cpp_plugin #5404
Merged
conan-center-bot
merged 14 commits into
conan-io:master
from
jgsogo:grpc/grpc_cpp_plugin
May 5, 2021
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9482a94
[google-cloud-cpp] Add library
jgsogo e94880b
start to work on deps
jgsogo c5ad911
Merge remote-tracking branch 'conan/master' into google-cloud-cpp
jgsogo c6564b6
exclude tests, use config for CMake packages
jgsogo ead75b5
Add build module to find grpc_cpp_plugin
jgsogo ec7171b
[crc32c] Add recipe
jgsogo 6db0c84
add crc32c dep
jgsogo 0811dcc
update grpc
jgsogo cd43bd2
Merge branch 'master' into grpc/grpc_cpp_plugin
jgsogo 0c3007e
remove, not for this PR
jgsogo 0b817f2
[grpc] Use build_modules to find the grcp_cpp_plugin
jgsogo 5fdbb6c
Update recipes/grpc/all/conanfile.py
jgsogo f52ef2f
Merge remote-tracking branch 'conan/master' into grpc/grpc_cpp_plugin
jgsogo 74029ec
grpc: add version 1.37.1 (#6)
jgsogo 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 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 @@ | ||
if(NOT TARGET gRPC::grpc_cpp_plugin) | ||
if(CMAKE_CROSSCOMPILING) | ||
find_program(GRPC_CPP_PLUGIN_PROGRAM | ||
NAMES grpc_cpp_plugin | ||
PATHS ENV | ||
PATH NO_DEFAULT_PATH) | ||
else() | ||
find_program(GRPC_CPP_PLUGIN_PROGRAM | ||
NAMES grpc_cpp_plugin | ||
PATHS "${CMAKE_CURRENT_LIST_DIR}/../../bin/" | ||
NO_DEFAULT_PATH) | ||
endif() | ||
|
||
get_filename_component(GRPC_CPP_PLUGIN_PROGRAM "${GRPC_CPP_PLUGIN_PROGRAM}" ABSOLUTE) | ||
|
||
add_executable(gRPC::grpc_cpp_plugin IMPORTED) | ||
set_property(TARGET gRPC::grpc_cpp_plugin PROPERTY IMPORTED_LOCATION ${GRPC_CPP_PLUGIN_PROGRAM}) | ||
endif() |
This file contains 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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
sources: | ||
"1.37.1": | ||
url: "https://github.com/grpc/grpc/archive/v1.37.1.tar.gz" | ||
sha256: "acf247ec3a52edaee5dee28644a4e485c5e5badf46bdb24a80ca1d76cb8f1174" | ||
"1.37.0": | ||
url: https://github.com/grpc/grpc/archive/refs/tags/v1.37.0.tar.gz | ||
sha256: "c2dc8e876ea12052d6dd16704492fd8921df8c6d38c70c4708da332cf116df22" |
This file contains 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 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 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 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
versions: | ||
"1.37.1": | ||
folder: "all" | ||
"1.37.0": | ||
folder: "all" |
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.
How did it pass the hooks? This folder is not in buiddirs.