sandboxed-api/contrib/libtiff
Christian Blichmann 4ec1c6be64 CMake: Update policy settings to 3.26
This avoids a warning in newer CMake versions. For `CMP0083`, we still need to
explicitly select `NEW` behavior. `check_pie_supported()` will error if it is
unset even on later CMake versions.

PiperOrigin-RevId: 531200735
Change-Id: Icb17a00cac087bd6888f8a9b9f8dd837358a6090
2023-05-11 07:50:52 -07:00
..
example Use Abseil's log/flags instead of glog/gflags 2022-10-20 06:48:51 -07:00
test
wrapper
CMakeLists.txt CMake: Update policy settings to 3.26 2023-05-11 07:50:52 -07:00
README.md
sandboxed.h

sapi-libtiff

This library was sandboxed as part of Google's summer 2020 internship program (blog post).

Copyright 2020 Google LLC.

Usage

build:

mkdir -p build && cd build && cmake .. \
  -DSAPI_ROOT=$HOME/sapi_root \
  -DBUILD_SHARED_LIBS=OFF
make -j 8

to run the sandboxed example:

./example/sandboxed absolute/path/to/project/dir

to run tests:

./test/tests

you also can use sandbox flags sandbox2_danger_danger_permit_all and sandbox2_danger_danger_permit_all_and_log for debugging.