diff options
author | Jeff McGlynn <jwmcglynn@google.com> | 2019-01-24 19:32:05 -0800 |
---|---|---|
committer | Jeff McGlynn <jeff@jeffmcglynn.com> | 2019-01-24 19:36:48 -0800 |
commit | 9b150919fd518f0755d6624ddc36163467ced431 (patch) | |
tree | 0a848bb00cfcfba6957fa94e92edb7f17fa25b76 | |
parent | 4e0cc971ea82fbb985f27933af23d1afb3994290 (diff) |
Small fixes to build files and readme
* Remove duplicate https://
* Update test library to use @gtest//:gtest instead of gtest_main
* Declare hdrs in astc_codec library.
-rw-r--r-- | BUILD.bazel | 3 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/decoder/BUILD.bazel | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 8fc9eca..ea5a2c4 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -22,7 +22,8 @@ cc_library( cc_library( name = "astc_codec", - deps = ["//src/decoder:codec"], + hdrs = ["include/astc-codec/astc-codec.h"], includes = ["include"], visibility = ["//visibility:public"], + deps = ["//src/decoder:codec"], ) @@ -42,7 +42,7 @@ bazel test //... ### With CMake -Install [CMake](https://https://cmake.org/), and the run: +Install [CMake](https://cmake.org/), and the run: ``` mkdir build && cd build && cmake .. && make diff --git a/src/decoder/BUILD.bazel b/src/decoder/BUILD.bazel index 2ff0ead..ccc764e 100644 --- a/src/decoder/BUILD.bazel +++ b/src/decoder/BUILD.bazel @@ -90,7 +90,7 @@ cc_library( name = "test", testonly = 1, hdrs = ["test/image_utils.h"], - deps = ["@gtest//:gtest_main"], + deps = ["@gtest//:gtest"], ) cc_test( |