1CMAKE_MINIMUM_REQUIRED(VERSION 3.13...3.20) 2 3PROJECT(histreamer_tests) 4 5set(CMAKE_VERBOSE_MAKEFILE ON) 6 7set(TOP_DIR ${CMAKE_CURRENT_SOURCE_DIR}/..) 8 9include_directories( 10 ${TOP_DIR}/../3rdparty/ohos/foundation/multimedia/media_lite/interfaces/innerkits 11 ${TOP_DIR}/../3rdparty/ohos/foundation/multimedia/utils/lite/interfaces/kits 12 ${TOP_DIR}/engine/scene/player/lite 13) 14 15# Must comment out these two lines to compile standard player 16# But must uncomment them to compile histreamer_tests 17#unset(PLAYER_LITE CACHE) 18#option(PLAYER_LITE "tests should use player lite interface" ON) 19 20if (NOT MINGW) 21 # support findSymbol, cmake >= 3.13 22 # ADD_LINK_OPTIONS( -rdynamic) 23endif () 24 25SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) 26 27ADD_SUBDIRECTORY(ut) 28