blob: 7369655630acc93a868013e05eb7110c313bd664 (
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
30
|
add_executable(mbgl-render-test
render-test/allocation_index.cpp
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
Mapbox::Base::Extras::args
mbgl-vendor-expected
Mapbox::Base::Extras::filesystem
Mapbox::Base::pixelmatch-cpp
Mapbox::Base::Extras::rapidjson
)
add_definitions(-DTEST_RUNNER_ROOT_PATH="${CMAKE_SOURCE_DIR}")
|