mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
update readme
This commit is contained in:
parent
bfbb4f70c4
commit
113e6c8229
|
@ -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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user