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
Add premake-based build scripts #2
Conversation
The tool compares two PNG images and outputs the butteraugli score. It requires libpng.
Add a png comparison tool.
Makefile & small changes
This commit is a squashed version of multiple changes made by multiple authors.
Specify libpng dependency and build instructions
This commit contains squashes changes by many authors.
capitalize readme titles
improvements to visual masking
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). 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. |
@@ -24,6 +24,10 @@ | |||
#include "guetzli/quality.h" | |||
#include "guetzli/stats.h" | |||
|
|||
#ifndef GFLAGS_NAMESPACE | |||
#define GFLAGS_NAMESPACE gflags |
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.
Perhaps, "using namespace" might look al little bit better.
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.
Done.
defines { "GFLAGS_NAMESPACE=google" } | ||
files | ||
{ | ||
"guetzli/*.cc", |
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.
whitespace
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.
What exactly is the expected state here?
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.
I mean first line is padded by 3 spaces here, not 2.
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.
Looks like a github bug - it is ok in downloaded sources.
|
||
## Build instructions | ||
|
||
Install [Bazel](http://bazel.io) by following the |
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.
bazel.build
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.
Done.
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.
LGTM
60cfed6
to
10736c0
Compare
PTAL. |
Add premake configuration and generate Makefile using premake. Make both builds use the imported copy of Butteraugli, for consistency. Make code compatible with pre-2.1 and post-2.1 gflags.
Get |
Make Guetzli compilable without Bazel.
Notably missing from this PR: