mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-29 18:59:14 +08:00
23 lines
676 B
CMake
Executable File
23 lines
676 B
CMake
Executable File
project(gui_test C CXX)
|
|
aux_source_directory(./ SRCS_GUI_TESTS)
|
|
find_package(GTEST REQUIRED)
|
|
find_package(Pixman REQUIRED)
|
|
include_directories(
|
|
./
|
|
${CDROID_INCLUDE_DIRS}
|
|
${CDROID_DEPINCLUDES}
|
|
${GTEST_INCLUDE_DIRS}
|
|
${PIXMAN_INCLUDE_DIRS}
|
|
${CMAKE_BINARY_DIR}/include/porting
|
|
${CMAKE_BINARY_DIR}/include
|
|
${CMAKE_SOURCE_DIR}/src/gui
|
|
${CMAKE_BINARY_DIR}/include/gui
|
|
${CMAKE_BINARY_DIR}/include/uriparser
|
|
)
|
|
link_directories(${CMAKE_BINARY_DIR}/lib)
|
|
add_executable(gui_test ${SRCS_GUI_TESTS})
|
|
target_link_libraries(gui_test PRIVATE ${PIXMAN_LIBRAIRES} ${CDROID_DEPLIBS} ${GTEST_LIBRARIES} cdroid tvhal)
|
|
|
|
install(TARGETS gui_test DESTINATION bin/tests)
|
|
|