1# Copyright 2019 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 15# sandboxed_api/sandbox2/examples/crc4:crc4sandbox 16add_executable(sandbox2_crc4sandbox 17 crc4sandbox.cc 18) 19add_executable(sandbox2::crc4sandbox ALIAS sandbox2_crc4sandbox) 20add_dependencies(sandbox2_crc4sandbox 21 sandbox2::crc4bin 22) 23target_link_libraries(sandbox2_crc4sandbox PRIVATE 24 absl::flags 25 absl::flags_parse 26 absl::log 27 absl::log_globals 28 absl::log_initialize 29 absl::log_severity 30 sandbox2::bpf_helper 31 sandbox2::comms 32 sapi::runfiles 33 sandbox2::sandbox2 34 sapi::base 35) 36 37# sandboxed_api/sandbox2/examples/crc4:crc4bin 38add_executable(sandbox2_crc4bin 39 crc4bin.cc 40) 41set_target_properties(sandbox2_crc4bin PROPERTIES OUTPUT_NAME crc4bin) 42add_executable(sandbox2::crc4bin ALIAS sandbox2_crc4bin) 43target_link_libraries(sandbox2_crc4bin PRIVATE 44 absl::core_headers 45 absl::flags 46 absl::flags_parse 47 absl::strings 48 sandbox2::client 49 sandbox2::comms 50 sandbox2::util 51 sapi::base 52) 53