update readme

This commit is contained in:
Latysheva Alexandra 2020-10-30 19:07:40 +06:00 committed by GitHub
parent bfbb4f70c4
commit 113e6c8229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
# sapi-libtiff # Sandboxed LibTIFF
Copyright 2020 Google LLC. Copyright 2020 Google LLC.
## Start use ## Start use
You should make sure the libtiff submodule is cloned. You should make sure the libtiff submodule is cloned.
`git clone --recursive https://github.com/alexelex/sapi-libtiff` `git clone --recursive https://github.com/google/sandboxed-api`
## Usage ## Usage
@ -16,9 +16,13 @@ make -j8
``` ```
#### Example: #### Example:
You should add `-DTIFF_SAPI_ENABLE_EXAMPLES=ON` to use the example.\ You should add `-DTIFF_SAPI_ENABLE_EXAMPLES=ON` to use the example and run:
run: `./example/sandboxed /absolute/path/to/project/dir` ```
./example/sandboxed /absolute/path/to/input/image.tiff
```
#### Tests: #### Tests:
You should add `-DTIFF_SAPI_ENABLE_TESTS=ON` to use tests.\ You should add `-DTIFF_SAPI_ENABLE_TESTS=ON` to use tests and run:
run: `./test/tests` ```
./test/tests
```