sandboxed-api/contrib/jsonnet/examples
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
..
jsonnet_codes Merge pull request #101 from cblichmann:02jsonnet-contrib 2022-01-28 01:47:32 -08:00
jsonnet_codes_expected_output Jsonnet: Move to contrib/ 2022-01-27 18:44:57 +01:00
CMakeLists.txt CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00
jsonnet_base_example.cc CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00
jsonnet_base_transaction.cc CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00
jsonnet_formatter_example.cc CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00
jsonnet_multiple_files_example.cc CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00
jsonnet_yaml_stream_example.cc CMake: Make it easier for projects to consume sandboxed libraries 2022-02-02 01:09:56 -08:00