blob: 6505cc73f82fbf4b7f86cd22e2714a7698aa12f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
add_executable(mbgl-render-test
render-test/main.cpp
render-test/parser.cpp
render-test/runner.cpp
)
if(APPLE)
target_link_libraries(mbgl-render-test PRIVATE mbgl-loop-darwin)
else()
target_link_libraries(mbgl-render-test PRIVATE mbgl-loop-uv)
endif()
target_include_directories(mbgl-render-test
PRIVATE src
PRIVATE platform/default/include
PRIVATE render-test
)
target_link_libraries(mbgl-render-test PRIVATE
mbgl-core
mbgl-filesource
args
expected
filesystem
pixelmatch-cpp
rapidjson
)
add_definitions(-DTEST_RUNNER_ROOT_PATH="${CMAKE_SOURCE_DIR}")
|