Import dEQP.
[platform/upstream/VK-GL-CTS.git] / modules / gles2 / CMakeLists.txt
1 # dEQP-GLES2
2
3 include_directories(
4         accuracy
5         functional
6         performance
7         randomshaders
8         stress
9         ../glshared
10         ${CMAKE_CURRENT_SOURCE_DIR}
11         )
12
13 add_subdirectory(accuracy)
14 add_subdirectory(functional)
15 add_subdirectory(performance)
16 add_subdirectory(stress)
17
18 set(DEQP_GLES2_SRCS
19         tes2CapabilityTests.cpp
20         tes2CapabilityTests.hpp
21         tes2Context.cpp
22         tes2Context.hpp
23         tes2InfoTests.cpp
24         tes2InfoTests.hpp
25         tes2TestCase.cpp
26         tes2TestCase.hpp
27         tes2TestCaseWrapper.cpp
28         tes2TestCaseWrapper.hpp
29         tes2TestPackage.cpp
30         tes2TestPackage.hpp
31         )
32
33 set(DEQP_GLES2_LIBS
34         deqp-gles2-accuracy
35         deqp-gles2-functional
36         deqp-gles2-performance
37         deqp-gles2-stress
38         tcutil
39         glutil
40         ${DEQP_GLES2_LIBRARIES}
41         )
42
43 add_deqp_module(deqp-gles2 "${DEQP_GLES2_SRCS}" "${DEQP_GLES2_LIBS}" tes2TestPackageEntry.cpp)
44
45 # Data directories
46 add_data_dir(deqp-gles2 ../../data/gles2/data           gles2/data)
47 add_data_dir(deqp-gles2 ../../data/gles2/shaders        gles2/shaders)