Skip to content

Conversation

@egorich239
Copy link

This defines the very minimal integration with Bazel build system. The definitions follow the spirit of README.md in that the build rules package the library such that it can be included with

#include <spng.h>

This defines the very minimal integration with Bazel build system.
The definitions follow the spirit of README.md in that the build rules
package the library such that it can be included with

```c
```
compatibility_level = 1,
)

bazel_dep(name = "zlib", version = "1.3.1")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with bazel, does this specify 1.3.1 and only 1.3.1 or the minimum version?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If libspng is the only user of zlib in a bazel workspace, then it would mean 1.3.1 exactly.
If there is another bazel_dep with, say, zlib 1.3.2 in its dependencies, then

Full details:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants