From 77c44f9c87b0d2226f0d0e8049bec67d806830da Mon Sep 17 00:00:00 2001 From: Latysheva Alexandra <35174583+alexelex@users.noreply.github.com> Date: Sun, 11 Oct 2020 17:02:47 +0600 Subject: [PATCH] add flags to readme --- oss-internship-2020/libtiff/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/oss-internship-2020/libtiff/README.md b/oss-internship-2020/libtiff/README.md index 73a3899..84b78ca 100644 --- a/oss-internship-2020/libtiff/README.md +++ b/oss-internship-2020/libtiff/README.md @@ -8,15 +8,17 @@ You should make sure the libtiff submodule is cloned. ## Usage -#### build: +#### Build: ``` mkdir -p build && cd build && \ cmake .. -DSAPI_ROOT=/path/to/sapi_root -DBUILD_SHARED_LIBS=OFF make -j8 ``` -#### to run the sandboxed example: -`./example/sandboxed /absolute/path/to/project/dir` +#### Example: +You should add `-DTIFF_SAPI_ENABLE_EXAMPLES=ON` to use the example.\ +run: `./example/sandboxed /absolute/path/to/project/dir` -#### to run tests: -`./test/tests` +#### Tests: +You should add `-DTIFF_SAPI_ENABLE_TESTS=ON` to use tests.\ +run: `./test/tests`