aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorErwin Jansen <jansene@google.com>2018-11-28 14:42:46 -0800
committerErwin Jansen <jansene@google.com>2018-11-28 14:42:46 -0800
commit17ae36822a8084f45ae51f9031e81f8318254f33 (patch)
treeae95f7228eb234a51ae74eca1089ab2ea66f7ed7 /README.md
parent9e8a46ebd61488e1b8be0df15e19c90e0395d7a9 (diff)
parente0904c84162a2a078a47b7966305f84f817d6247 (diff)
downloadastc-codec-emu-29.0-release.tar.gz
Change-Id: I3cacc9da948c56f15cb96f03a2142ffab4f65846
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 22 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7d53cb8..8bb2c26 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,8 @@ bool result = astc_codec::ASTCDecompressToRGBA(
## Building
+### With bazel
+
Install [Bazel](https://bazel.build/), and then run:
```
@@ -32,12 +34,31 @@ bazel build :astc_codec -c opt
astc-codec has been tested on Mac and Linux.
-## Run Tests
+### Run Tests
```
bazel test //...
```
+### With CMake
+
+Install [CMake](https://https://cmake.org/), and the run:
+
+```
+mkdir build && cd build && cmake .. && make
+```
+
+Or open the project in your favorite IDE and import CMakeLists.txt.
+
+### Run Tests
+
+In the build directory, execute:
+
+```
+ctest
+```
+
+
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for important contributing requirements.