blob: 35220e99d20b649972e4b7e4ed38d3d9b8a5ef14 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
project(drape_tests)
execute_process(
COMMAND python ${OMIM_ROOT}/tools/autobuild/shader_preprocessor.py
${DRAPE_ROOT}/shaders
shader_index.txt
shader_def
)
add_definitions(
-DOGL_TEST_ENABLED
-DGTEST_DONT_DEFINE_TEST
-DCOMPILER_TESTS
)
include_directories(
${OMIM_ROOT}/3party/gmock/include
${OMIM_ROOT}/3party/gmock/gtest/include
${OMIM_ROOT}/3party/freetype/include
)
set(
SRC
attribute_provides_tests.cpp
batcher_tests.cpp
bingind_info_tests.cpp
buffer_tests.cpp
compile_shaders_test.cpp
dummy_texture.hpp
failure_reporter.cpp
font_texture_tests.cpp
fribidi_tests.cpp
glfunctions.cpp
glmock_functions.cpp
glmock_functions.hpp
glyph_mng_tests.cpp
glyph_packer_test.cpp
img.cpp
img.hpp
memory_comparer.hpp
pointers_tests.cpp
static_texture_tests.cpp
stipple_pen_tests.cpp
texture_of_colors_tests.cpp
testingmain.cpp
uniform_value_tests.cpp
)
add_executable(${PROJECT_NAME} ${DRAPE_COMMON_SRC} ${SRC})
omim_link_libraries(
${PROJECT_NAME}
qt_tstfrm
indexer
platform
coding
geometry
base
fribidi
expat
stats_client
freetype
gmock
stb_image
sdf_image
${Qt5Core_LIBRARIES}
${Qt5Gui_LIBRARIES}
${Qt5Widgets_LIBRARIES}
${LIBZ}
)
link_qt5_core(${PROJECT_NAME})
if (PLATFORM_MAC)
omim_link_libraries(
${PROJECT_NAME}
"-framework CoreLocation"
)
endif()
|