blob: 4484e5ad15c60fd376d25be21678a70d25be55a1 (
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
|
project(drape_frontend_tests)
add_definitions(
-DCOMPILER_TESTS
)
execute_process(
COMMAND python ${OMIM_ROOT}/tools/autobuild/shader_preprocessor.py
${OMIM_ROOT}/drape_frontend/shaders
shader_index.txt
shaders_lib.glsl
${OMIM_ROOT}/drape_frontend/drape_frontend_tests
shader_def_for_tests
)
execute_process(
COMMAND rm -rf ${OMIM_ROOT}/data/shaders_compiler
)
execute_process(
COMMAND cp -r ${OMIM_ROOT}/tools/shaders_compiler ${OMIM_ROOT}/data
)
set(
SRC
compile_shaders_test.cpp
navigator_test.cpp
shader_def_for_tests.cpp
shader_def_for_tests.hpp
user_event_stream_tests.cpp
)
omim_add_test(${PROJECT_NAME} ${SRC})
if (PLATFORM_MAC)
omim_link_libraries(
${PROJECT_NAME}
${Qt5Widgets_LIBRARIES}
)
endif()
omim_link_libraries(
${PROJECT_NAME}
drape_frontend
drape
platform
indexer
geometry
coding
base
expat
stats_client
stb_image
sdf_image
icu
${LIBZ}
)
link_opengl(${PROJECT_NAME})
link_qt5_core(${PROJECT_NAME})
|