1# Copyright 2020 Google LLC 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# https://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15foreach(target IN ITEMS base multiple_files yaml_stream formatter) 16 add_executable(jsonnet_${target}_sandboxed 17 jsonnet_${target}_example.cc 18 ) 19 target_link_libraries(jsonnet_${target}_sandboxed PRIVATE 20 absl::check 21 absl::flags 22 absl::flags_parse 23 absl::log 24 absl::log_globals 25 absl::log_initialize 26 libjsonnet 27 sapi_contrib::jsonnet_helper 28 sapi_contrib::jsonnet 29 sapi::file_base 30 sapi::fileops 31 sapi::sapi 32 ) 33endforeach() 34 35add_executable(jsonnet_base_transacted 36 jsonnet_base_transaction.cc 37) 38target_link_libraries(jsonnet_base_transacted PRIVATE 39 absl::check 40 absl::flags 41 absl::flags_parse 42 absl::log 43 absl::log_globals 44 absl::log_initialize 45 libjsonnet 46 sapi_contrib::jsonnet_helper 47 sapi_contrib::jsonnet 48 sapi::sapi 49) 50