shaka-packager/packager/kv_pairs/CMakeLists.txt

21 lines
532 B
CMake

# Copyright 2022 Google LLC. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
add_library(kv_pairs STATIC
kv_pairs.cc)
target_link_libraries(kv_pairs
absl::str_format
glog)
add_executable(kv_pairs_unittest
kv_pairs_unittest.cc)
target_link_libraries(kv_pairs_unittest
kv_pairs
gmock
gtest
gtest_main)
add_test(NAME kv_pairs_unittest COMMAND kv_pairs_unittest)