1# Copyright (c) 2017-2021, Intel Corporation
2#
3# Permission is hereby granted, free of charge, to any person obtaining a
4# copy of this software and associated documentation files (the "Software"),
5# to deal in the Software without restriction, including without limitation
6# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7# and/or sell copies of the Software, and to permit persons to whom the
8# Software is furnished to do so, subject to the following conditions:
9#
10# The above copyright notice and this permission notice shall be included
11# in all copies or substantial portions of the Software.
12#
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
17# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
18# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
19# OTHER DEALINGS IN THE SOFTWARE.
20
21set(TMP_HEADERS_
22    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_encode.h
23    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_av1.h
24    ${CMAKE_CURRENT_LIST_DIR}/codec_def_decode_av1.h
25)
26
27set(TMP_2_HEADERS_
28    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common.h
29    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_avc.h
30    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_hevc.h
31    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_jpeg.h
32    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_mpeg2.h
33    ${CMAKE_CURRENT_LIST_DIR}/codec_def_common_vp9.h
34    ${CMAKE_CURRENT_LIST_DIR}/codec_def_decode_avc.h
35    ${CMAKE_CURRENT_LIST_DIR}/codec_def_decode_hevc.h
36    ${CMAKE_CURRENT_LIST_DIR}/codec_def_decode_vc1.h
37    ${CMAKE_CURRENT_LIST_DIR}/codec_def_decode_vp9.h
38    ${CMAKE_CURRENT_LIST_DIR}/codec_def_encode.h
39    ${CMAKE_CURRENT_LIST_DIR}/codec_def_encode_avc.h
40    ${CMAKE_CURRENT_LIST_DIR}/codec_def_encode_jpeg.h
41    ${CMAKE_CURRENT_LIST_DIR}/codec_def_encode_mpeg2.h
42    ${CMAKE_CURRENT_LIST_DIR}/codec_def_encode_vp9.h
43    ${CMAKE_CURRENT_LIST_DIR}/codec_def_encode_hevc.h
44)
45
46set(HEADERS_
47    ${HEADERS_}
48    ${TMP_HEADERS_}
49    ${TMP_2_HEADERS_}
50)
51
52set(COMMON_HEADERS_
53    ${COMMON_HEADERS_}
54    ${TMP_HEADERS_}
55    ${TMP_2_HEADERS_}
56)
57
58source_group( "CodecHal\\Common" FILES ${TMP_HEADERS_} )
59
60source_group( "Codec\\Shared" FILES ${TMP_2_HEADERS_} )
61
62media_add_curr_to_include_path()