xref: /rockchip-linux_mpp/mpp/vproc/iep2/test/CMakeLists.txt (revision 437bfbeb9567cca9cd9080e3f6954aa9d6a94f18)
1# vim: syntax=cmake
2# ----------------------------------------------------------------------------
3# mpp/vproc/iep2 built-in unit test case
4# ----------------------------------------------------------------------------
5# iep2 unit test
6option(IEP2_TEST "Build base iep2 unit test" ${BUILD_TEST})
7if (IEP2_TEST)
8    add_executable(iep2_test iep2_test.c)
9    target_link_libraries(iep2_test ${MPP_SHARED} utils)
10    set_target_properties(iep2_test PROPERTIES FOLDER "mpp/vproc/iep2")
11    add_test(NAME iep2_test COMMAND iep2_test)
12endif()
13