| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 ${ly_base_dir}/unit_test/basictypes_test.cc | 60 ${ly_base_dir}/unit_test/basictypes_test.cc |
| 61 ${ly_base_dir}/unit_test/color_test.cc | 61 ${ly_base_dir}/unit_test/color_test.cc |
| 62 ${ly_base_dir}/unit_test/compare_test.cc | 62 ${ly_base_dir}/unit_test/compare_test.cc |
| 63 ${ly_base_dir}/unit_test/convert_test.cc | 63 ${ly_base_dir}/unit_test/convert_test.cc |
| 64 ${ly_base_dir}/unit_test/cpu_test.cc | 64 ${ly_base_dir}/unit_test/cpu_test.cc |
| 65 ${ly_base_dir}/unit_test/math_test.cc | 65 ${ly_base_dir}/unit_test/math_test.cc |
| 66 ${ly_base_dir}/unit_test/planar_test.cc | 66 ${ly_base_dir}/unit_test/planar_test.cc |
| 67 ${ly_base_dir}/unit_test/rotate_argb_test.cc | 67 ${ly_base_dir}/unit_test/rotate_argb_test.cc |
| 68 ${ly_base_dir}/unit_test/rotate_test.cc | 68 ${ly_base_dir}/unit_test/rotate_test.cc |
| 69 ${ly_base_dir}/unit_test/scale_argb_test.cc | 69 ${ly_base_dir}/unit_test/scale_argb_test.cc |
| 70 ${ly_base_dir}/unit_test/scale_color_test.cc | |
| 71 ${ly_base_dir}/unit_test/scale_test.cc | 70 ${ly_base_dir}/unit_test/scale_test.cc |
| 72 ${ly_base_dir}/unit_test/unit_test.cc | 71 ${ly_base_dir}/unit_test/unit_test.cc |
| 73 ${ly_base_dir}/unit_test/video_common_test.cc | 72 ${ly_base_dir}/unit_test/video_common_test.cc |
| 74 ${ly_base_dir}/unit_test/version_test.cc | 73 ${ly_base_dir}/unit_test/version_test.cc |
| 75 ) | 74 ) |
| 76 | 75 |
| 77 set(ly_header_files | 76 set(ly_header_files |
| 78 ${ly_inc_dir}/libyuv/basic_types.h | 77 ${ly_inc_dir}/libyuv/basic_types.h |
| 79 ${ly_inc_dir}/libyuv/compare.h | 78 ${ly_inc_dir}/libyuv/compare.h |
| 80 ${ly_inc_dir}/libyuv/convert.h | 79 ${ly_inc_dir}/libyuv/convert.h |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 endif() | 130 endif() |
| 132 endif() | 131 endif() |
| 133 | 132 |
| 134 if(NACL AND NACL_LIBC STREQUAL "newlib") | 133 if(NACL AND NACL_LIBC STREQUAL "newlib") |
| 135 target_link_libraries(libyuv_unittest glibc-compat) | 134 target_link_libraries(libyuv_unittest glibc-compat) |
| 136 endif() | 135 endif() |
| 137 | 136 |
| 138 install(TARGETS ${ly_lib_name} DESTINATION lib) | 137 install(TARGETS ${ly_lib_name} DESTINATION lib) |
| 139 install(FILES ${ly_header_files} DESTINATION include/libyuv) | 138 install(FILES ${ly_header_files} DESTINATION include/libyuv) |
| 140 install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) | 139 install(FILES ${ly_inc_dir}/libyuv.h DESTINATION include/) |
| OLD | NEW |