sandboxed-api/cmake
Christian Blichmann ee5ebaa48f CMake: Make it easier for projects to consume sandboxed libraries
This change starts with Jsonnet as the canonical, ready-made sandboxed library
example. Follow-up changes should similarly migrate the OSS Internship
sandboxes.

- Add an `add_sapi_subdirectory()` which sets up source and binary directories
  correctly when consuming SAPI as sub-project
- Restructure the Jsonnet `CMakeLists.txt` and simplify header inclusions
- Update the Jsonnet README file

PiperOrigin-RevId: 425818479
Change-Id: Iba9e83201863b4ad8a91914397b310d9d4230423
2022-02-02 01:09:56 -08:00
..
modules Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
abseil-cpp.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
benchmark.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
gflags.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
glog.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
googletest.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
libcap_capability.h.in Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
libcap.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
libffi.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
libunwind.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
protobuf.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
sandbox2.pc.in Add pkg-config files generation. 2020-12-16 06:46:03 -08:00
sapi.pc.in Add pkg-config files generation. 2020-12-16 06:46:03 -08:00
SapiBuildDefs.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
SapiDeps.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
SapiFetchContent.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
SapiOptions.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00
SapiUtil.cmake CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00
zlib.cmake Change license link to HTTPS URL 2022-01-28 01:39:09 -08:00