2020-09-24 04:21:33 +08:00
|
|
|
# sapi-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`
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
#### build:
|
2020-10-11 18:24:55 +08:00
|
|
|
```
|
2020-10-11 18:54:37 +08:00
|
|
|
mkdir -p build && cd build && \
|
|
|
|
cmake .. -DSAPI_ROOT=/path/to/sapi_root -DBUILD_SHARED_LIBS=OFF
|
|
|
|
make -j8
|
2020-10-11 18:24:55 +08:00
|
|
|
```
|
2020-09-24 04:21:33 +08:00
|
|
|
|
|
|
|
#### to run the sandboxed example:
|
2020-10-01 01:54:47 +08:00
|
|
|
`./example/sandboxed /absolute/path/to/project/dir`
|
2020-09-24 04:21:33 +08:00
|
|
|
|
|
|
|
#### to run tests:
|
|
|
|
`./test/tests`
|