forked from OpenHEVC/openHEVC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
49 lines (41 loc) · 975 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required (VERSION 2.6)
project (libavHM)
# Common packages required
find_package(SDL REQUIRED)
add_subdirectory(wrapper_hm)
set(filenames
main.c sdl.c
libavcodec/allcodecs.clibavcodec/avpacket.clibavcodec/cabac.clibavcodec/dsputil.clibavcodec/golomb.clibavcodec/hevc_cabac.clibavcodec/hevc_parser.clibavcodec/hevc_ps.clibavcodec/hevc.clibavcodec/hevcdsp.clibavcodec/hevcpred.clibavcodec/imgconvert.clibavcodec/options.clibavcodec/parser.clibavcodec/pthread.clibavcodec/simple_idct.clibavcodec/utils.c
libavutil/audioconvert.clibavutil/avstring.clibavutil/dict.clibavutil/eval.clibavutil/imgutils.clibavutil/log.clibavutil/mathematics.clibavutil/mem.clibavutil/opt.c
libavutil/pixdesc.clibavutil/rational.clibavutil/samplefmt.c
)
include_directories(. ${SDL_INCLUDE_DIR} wrapper_hm/src/Lib)
add_executable(hevc ${filenames})
target_link_libraries(hevc ${SDL_LIBRARY} LibWrapper TLibDecoder TLibVideoIO TLibCommon libmd5)