-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Bazel][1.x][Part 2]: BazelDeps refactor #14959
[Bazel][1.x][Part 2]: BazelDeps refactor #14959
Conversation
6933810
to
c20b270
Compare
c20b270
to
27ae3b9
Compare
ebc9364
to
947b181
Compare
15ebb15
to
fd13c23
Compare
|
||
|
||
@pytest.fixture(scope="module") | ||
def client_lib(bazelrc): |
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.
Removed because it's enough tested by the next test test_transitive_libs_consuming
.
Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
std::cout << "openssl() First define " << MY_DEFINE << " and other define " << MY_OTHER_DEFINE << "\\n"; | ||
zlib(); | ||
// This comes from the systemlibs declared in the zlib | ||
sqrt(25); |
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.
not okay to ignore return value (compiler may optimize out if there are no side-effects)
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.
Looking good
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.
Great job! 👏
Changelog: Feature: BazelDeps global refactor. Adding each component as an isolated target, better requirements management (including requirements coming from build-context), adding C/C++ flags, etc.
Changelog: Feature: BazelDeps works fine in editable mode.
Changelog: Feature: Added
bazel_target_name
andbazel_repository_name
properties.Changelog: Feature: Added mechanism to consume shared/static libraries for
bazel_lib
template in all the platforms.Docs: conan-io/docs#3457
Closes: #13197 #13234 #12786
Depends on #14958
Summary:
bazel_layout
to be able to work in editable mode.copts
optionfilegroups
for binary foldersbazel_lib
generates projects that are able to compile as shared/static libraries.