| 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 15 matching lines...) Expand all Loading... |
| 26 ${ly_src_dir}/convert_to_i420.cc | 26 ${ly_src_dir}/convert_to_i420.cc |
| 27 ${ly_src_dir}/cpu_id.cc | 27 ${ly_src_dir}/cpu_id.cc |
| 28 ${ly_src_dir}/mjpeg_decoder.cc | 28 ${ly_src_dir}/mjpeg_decoder.cc |
| 29 ${ly_src_dir}/mjpeg_validate.cc | 29 ${ly_src_dir}/mjpeg_validate.cc |
| 30 ${ly_src_dir}/planar_functions.cc | 30 ${ly_src_dir}/planar_functions.cc |
| 31 ${ly_src_dir}/rotate.cc | 31 ${ly_src_dir}/rotate.cc |
| 32 ${ly_src_dir}/rotate_any.cc | 32 ${ly_src_dir}/rotate_any.cc |
| 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_msa.cc |
| 36 ${ly_src_dir}/rotate_neon.cc | 37 ${ly_src_dir}/rotate_neon.cc |
| 37 ${ly_src_dir}/rotate_neon64.cc | 38 ${ly_src_dir}/rotate_neon64.cc |
| 38 ${ly_src_dir}/rotate_gcc.cc | 39 ${ly_src_dir}/rotate_gcc.cc |
| 39 ${ly_src_dir}/rotate_win.cc | 40 ${ly_src_dir}/rotate_win.cc |
| 40 ${ly_src_dir}/row_any.cc | 41 ${ly_src_dir}/row_any.cc |
| 41 ${ly_src_dir}/row_common.cc | 42 ${ly_src_dir}/row_common.cc |
| 42 ${ly_src_dir}/row_mips.cc | 43 ${ly_src_dir}/row_mips.cc |
| 43 ${ly_src_dir}/row_msa.cc | 44 ${ly_src_dir}/row_msa.cc |
| 44 ${ly_src_dir}/row_neon.cc | 45 ${ly_src_dir}/row_neon.cc |
| 45 ${ly_src_dir}/row_neon64.cc | 46 ${ly_src_dir}/row_neon64.cc |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 target_link_libraries(libyuv_unittest glibc-compat) | 137 target_link_libraries(libyuv_unittest glibc-compat) |
| 137 endif() | 138 endif() |
| 138 | 139 |
| 139 target_link_libraries(libyuv_unittest gflags) | 140 target_link_libraries(libyuv_unittest gflags) |
| 140 | 141 |
| 141 endif() | 142 endif() |
| 142 | 143 |
| 143 install(TARGETS ${ly_lib_name} DESTINATION lib) | 144 install(TARGETS ${ly_lib_name} DESTINATION lib) |
| 144 install(FILES ${ly_header_files} DESTINATION include/libyuv) | 145 install(FILES ${ly_header_files} DESTINATION include/libyuv) |
| 145 install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) | 146 install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) |
| OLD | NEW |