Imported Upstream version 1.4+222+hg5f9f7194267b
[deb_x265.git] / source / encoder / CMakeLists.txt
1 # vim: syntax=cmake
2
3 if(GCC)
4 add_definitions(-Wno-uninitialized)
5 endif()
6 if(MSVC)
7 add_definitions(/wd4701) # potentially uninitialized local variable 'foo' used
8 endif()
9
10 add_library(encoder OBJECT ../x265.h
11 analysis.cpp analysis.h
12 search.cpp search.h
13 bitcost.cpp bitcost.h rdcost.h
14 motion.cpp motion.h
15 slicetype.cpp slicetype.h
16 frameencoder.cpp frameencoder.h
17 framefilter.cpp framefilter.h
18 level.cpp level.h
19 nal.cpp nal.h
20 sei.cpp sei.h
21 sao.cpp sao.h
22 entropy.cpp entropy.h
23 dpb.cpp dpb.h
24 ratecontrol.cpp ratecontrol.h
25 reference.cpp reference.h
26 encoder.cpp encoder.h
27 api.cpp
28 weightPrediction.cpp)