-
Notifications
You must be signed in to change notification settings - Fork 77
CMake: Replace ExternalProject_Add with FetchContent #290
CMake: Replace ExternalProject_Add with FetchContent #290
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
1694350
to
ee20278
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
@g-easy this looks good to me (from a person with 0 knowledge about cmake, but I like when code gets deleted). What do you think? |
Please make this pass on Travis. :) |
Well, I can't run the tools/format.sh script as I'm on Windows. Could you help me with that like last time? :) The other failure is simply because the travis node's CMake version is too old:
IS |
@meastp you can create a small docker image map your clone directory, and run the script :) maybe we should have a "tools/format_docker.sh" which actually is useful not only for your usecase but also to make sure that we run that specific clang-format. |
What if travis could just push a commit to the pull request with the required changes if the tools/format.sh fails? :) |
Regular Xenial ships cmake 3.5.1. I got this running locally with ubuntu:cosmic. https://launchpad.net/ubuntu/+source/cmake |
@coryan Is the cmake 3.11 requirement okay with you? |
And Ubuntu:bionic is 3.10, and let's not get started on CentOS. I think 3.11 might be too high given the current versions on popular distros. |
@coryan What about including |
I think |
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
7d5cd16
to
0b10913
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
89cadb9
to
9db3523
Compare
This file comes from upstream, so let's keep it as-is. This file will be added in census-instrumentation#290.
This file comes from upstream, so let's keep it as-is. This file will be added in #290.
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.
Nice! Thanks!
This reduces the amount of code for including/building dependencies.
The only drawback is an increase in the CMake version required.