aboutsummaryrefslogtreecommitdiff
path: root/src/utils/libgav1_utils.cmake
blob: 8b6ec4bee3261a05af6f0efd3462c98267771abc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Copyright 2019 The libgav1 Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

if(LIBGAV1_UTILS_LIBGAV1_UTILS_CMAKE_)
  return()
endif() # LIBGAV1_UTILS_LIBGAV1_UTILS_CMAKE_
set(LIBGAV1_UTILS_LIBGAV1_UTILS_CMAKE_ 1)

list(APPEND libgav1_utils_sources
            "${libgav1_source}/utils/array_2d.h"
            "${libgav1_source}/utils/bit_mask_set.h"
            "${libgav1_source}/utils/bit_reader.cc"
            "${libgav1_source}/utils/bit_reader.h"
            "${libgav1_source}/utils/block_parameters_holder.cc"
            "${libgav1_source}/utils/block_parameters_holder.h"
            "${libgav1_source}/utils/blocking_counter.h"
            "${libgav1_source}/utils/common.h"
            "${libgav1_source}/utils/compiler_attributes.h"
            "${libgav1_source}/utils/constants.cc"
            "${libgav1_source}/utils/constants.h"
            "${libgav1_source}/utils/cpu.cc"
            "${libgav1_source}/utils/cpu.h"
            "${libgav1_source}/utils/dynamic_buffer.h"
            "${libgav1_source}/utils/entropy_decoder.cc"
            "${libgav1_source}/utils/entropy_decoder.h"
            "${libgav1_source}/utils/executor.cc"
            "${libgav1_source}/utils/executor.h"
            "${libgav1_source}/utils/logging.cc"
            "${libgav1_source}/utils/logging.h"
            "${libgav1_source}/utils/memory.h"
            "${libgav1_source}/utils/parameter_tree.cc"
            "${libgav1_source}/utils/parameter_tree.h"
            "${libgav1_source}/utils/queue.h"
            "${libgav1_source}/utils/raw_bit_reader.cc"
            "${libgav1_source}/utils/raw_bit_reader.h"
            "${libgav1_source}/utils/reference_info.h"
            "${libgav1_source}/utils/segmentation.cc"
            "${libgav1_source}/utils/segmentation.h"
            "${libgav1_source}/utils/segmentation_map.cc"
            "${libgav1_source}/utils/segmentation_map.h"
            "${libgav1_source}/utils/stack.h"
            "${libgav1_source}/utils/threadpool.cc"
            "${libgav1_source}/utils/threadpool.h"
            "${libgav1_source}/utils/types.h"
            "${libgav1_source}/utils/unbounded_queue.h"
            "${libgav1_source}/utils/vector.h")

macro(libgav1_add_utils_targets)
  libgav1_add_library(NAME
                      libgav1_utils
                      TYPE
                      OBJECT
                      SOURCES
                      ${libgav1_utils_sources}
                      DEFINES
                      ${libgav1_defines}
                      INCLUDES
                      ${libgav1_include_paths}
                      ${libgav1_gtest_include_paths})

endmacro()