OLD | NEW |
---|---|
1 cmake_minimum_required(VERSION 2.8) | 1 cmake_minimum_required(VERSION 2.8) |
2 | 2 |
3 # CMakeLists for libyuv | 3 # CMakeLists for libyuv |
4 # Originally created for "roxlu build system" to compile libyuv on windows | 4 # Originally created for "roxlu build system" to compile libyuv on windows |
5 # Run with -DTEST=ON to build unit tests | 5 # Run with -DTEST=ON to build unit tests |
6 option(TEST "Built unit tests" OFF) | 6 option(TEST "Built unit tests" OFF) |
7 | 7 |
8 set(ly_base_dir ${CMAKE_CURRENT_LIST_DIR}) | 8 set(ly_base_dir ${CMAKE_CURRENT_LIST_DIR}) |
9 set(ly_src_dir ${ly_base_dir}/source/) | 9 set(ly_src_dir ${ly_base_dir}/source/) |
10 set(ly_inc_dir ${ly_base_dir}/include) | 10 set(ly_inc_dir ${ly_base_dir}/include) |
(...skipping 22 matching lines...) Expand all Loading... | |
33 ${ly_src_dir}/rotate_argb.cc | 33 ${ly_src_dir}/rotate_argb.cc |
34 ${ly_src_dir}/rotate_common.cc | 34 ${ly_src_dir}/rotate_common.cc |
35 ${ly_src_dir}/rotate_mips.cc | 35 ${ly_src_dir}/rotate_mips.cc |
36 ${ly_src_dir}/rotate_neon.cc | 36 ${ly_src_dir}/rotate_neon.cc |
37 ${ly_src_dir}/rotate_neon64.cc | 37 ${ly_src_dir}/rotate_neon64.cc |
38 ${ly_src_dir}/rotate_gcc.cc | 38 ${ly_src_dir}/rotate_gcc.cc |
39 ${ly_src_dir}/rotate_win.cc | 39 ${ly_src_dir}/rotate_win.cc |
40 ${ly_src_dir}/row_any.cc | 40 ${ly_src_dir}/row_any.cc |
41 ${ly_src_dir}/row_common.cc | 41 ${ly_src_dir}/row_common.cc |
42 ${ly_src_dir}/row_mips.cc | 42 ${ly_src_dir}/row_mips.cc |
43 ${ly_src_dir}/row_msa.cc | |
43 ${ly_src_dir}/row_neon.cc | 44 ${ly_src_dir}/row_neon.cc |
44 ${ly_src_dir}/row_neon64.cc | 45 ${ly_src_dir}/row_neon64.cc |
45 ${ly_src_dir}/row_gcc.cc | 46 ${ly_src_dir}/row_gcc.cc |
46 ${ly_src_dir}/row_win.cc | 47 ${ly_src_dir}/row_win.cc |
47 ${ly_src_dir}/scale.cc | 48 ${ly_src_dir}/scale.cc |
48 ${ly_src_dir}/scale_any.cc | 49 ${ly_src_dir}/scale_any.cc |
49 ${ly_src_dir}/scale_argb.cc | 50 ${ly_src_dir}/scale_argb.cc |
50 ${ly_src_dir}/scale_common.cc | 51 ${ly_src_dir}/scale_common.cc |
51 ${ly_src_dir}/scale_mips.cc | 52 ${ly_src_dir}/scale_mips.cc |
52 ${ly_src_dir}/scale_neon.cc | 53 ${ly_src_dir}/scale_neon.cc |
(...skipping 20 matching lines...) Expand all Loading... | |
73 ) | 74 ) |
74 | 75 |
75 set(ly_header_files | 76 set(ly_header_files |
76 ${ly_inc_dir}/libyuv/basic_types.h | 77 ${ly_inc_dir}/libyuv/basic_types.h |
77 ${ly_inc_dir}/libyuv/compare.h | 78 ${ly_inc_dir}/libyuv/compare.h |
78 ${ly_inc_dir}/libyuv/convert.h | 79 ${ly_inc_dir}/libyuv/convert.h |
79 ${ly_inc_dir}/libyuv/convert_argb.h | 80 ${ly_inc_dir}/libyuv/convert_argb.h |
80 ${ly_inc_dir}/libyuv/convert_from.h | 81 ${ly_inc_dir}/libyuv/convert_from.h |
81 ${ly_inc_dir}/libyuv/convert_from_argb.h | 82 ${ly_inc_dir}/libyuv/convert_from_argb.h |
82 ${ly_inc_dir}/libyuv/cpu_id.h | 83 ${ly_inc_dir}/libyuv/cpu_id.h |
84 ${ly_inc_dir}/libyuv/cpu/mips/macros_msa.h | |
fbarchard1
2016/09/14 01:48:04
prefer file be in libyuv folder. havent done cpu
manojkumar.bhosale
2016/09/14 12:45:29
OK. Moved back in include/libyuv
| |
83 ${ly_inc_dir}/libyuv/planar_functions.h | 85 ${ly_inc_dir}/libyuv/planar_functions.h |
84 ${ly_inc_dir}/libyuv/rotate.h | 86 ${ly_inc_dir}/libyuv/rotate.h |
85 ${ly_inc_dir}/libyuv/rotate_argb.h | 87 ${ly_inc_dir}/libyuv/rotate_argb.h |
86 ${ly_inc_dir}/libyuv/rotate_row.h | 88 ${ly_inc_dir}/libyuv/rotate_row.h |
87 ${ly_inc_dir}/libyuv/row.h | 89 ${ly_inc_dir}/libyuv/row.h |
88 ${ly_inc_dir}/libyuv/scale.h | 90 ${ly_inc_dir}/libyuv/scale.h |
89 ${ly_inc_dir}/libyuv/scale_argb.h | 91 ${ly_inc_dir}/libyuv/scale_argb.h |
90 ${ly_inc_dir}/libyuv/scale_row.h | 92 ${ly_inc_dir}/libyuv/scale_row.h |
91 ${ly_inc_dir}/libyuv/version.h | 93 ${ly_inc_dir}/libyuv/version.h |
92 ${ly_inc_dir}/libyuv/video_common.h | 94 ${ly_inc_dir}/libyuv/video_common.h |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 target_link_libraries(libyuv_unittest glibc-compat) | 135 target_link_libraries(libyuv_unittest glibc-compat) |
134 endif() | 136 endif() |
135 | 137 |
136 target_link_libraries(libyuv_unittest gflags) | 138 target_link_libraries(libyuv_unittest gflags) |
137 | 139 |
138 endif() | 140 endif() |
139 | 141 |
140 install(TARGETS ${ly_lib_name} DESTINATION lib) | 142 install(TARGETS ${ly_lib_name} DESTINATION lib) |
141 install(FILES ${ly_header_files} DESTINATION include/libyuv) | 143 install(FILES ${ly_header_files} DESTINATION include/libyuv) |
142 install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) | 144 install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) |
OLD | NEW |