sandboxed-api/oss-internship-2020/libtiff/README.md
Latysheva Alexandra 113e6c8229
update readme
2020-10-30 19:07:40 +06:00

29 lines
572 B
Markdown

# Sandboxed LibTIFF
Copyright 2020 Google LLC.
## Start use
You should make sure the libtiff submodule is cloned.
`git clone --recursive https://github.com/google/sandboxed-api`
## Usage
#### Build:
```
mkdir -p build && cd build && \
cmake .. -DSAPI_ROOT=/path/to/sapi_root -DBUILD_SHARED_LIBS=OFF
make -j8
```
#### Example:
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 and run:
```
./test/tests
```