1# vim: syntax=cmake 2include_directories(.) 3# hal/common for hal_bufs module 4include_directories(../common/) 5include_directories(../../common/h264/) 6# mpp/codec/enc/h264 for h264 syntax 7include_directories(../../../codec/enc/h264/) 8 9# hal h264 header 10set(HAL_H264E_HDR 11 ) 12 13# hal h264 encoder sourse 14set(HAL_H264E_SRC 15 hal_h264e_vepu541.c 16 hal_h264e_vepu580.c 17 hal_h264e_vepu540c.c 18 hal_h264e_vepu510.c 19 hal_h264e_vepu511.c 20 ) 21 22add_library(hal_h264e_rkv STATIC 23 ${HAL_H264E_HDR} 24 ${HAL_H264E_SRC} 25 ) 26 27target_link_libraries(hal_h264e_rkv hal_vepu541_common hal_h264e_com hal_common) 28set_target_properties(hal_h264e_rkv PROPERTIES FOLDER "mpp/hal") 29