update readme

pull/56/head
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
1 changed files with 10 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# sapi-libtiff
# Sandboxed LibTIFF
Copyright 2020 Google LLC.
## Start use
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
@ -16,9 +16,13 @@ make -j8
```
#### Example:
You should add `-DTIFF_SAPI_ENABLE_EXAMPLES=ON` to use the example.\
run: `./example/sandboxed /absolute/path/to/project/dir`
You should add `-DTIFF_SAPI_ENABLE_EXAMPLES=ON` to use the example and run:
```
./example/sandboxed /absolute/path/to/input/image.tiff
```
#### Tests:
You should add `-DTIFF_SAPI_ENABLE_TESTS=ON` to use tests.\
run: `./test/tests`
You should add `-DTIFF_SAPI_ENABLE_TESTS=ON` to use tests and run:
```
./test/tests
```