Check that threads started in multithreading tests am: 9937c63c41
[platform/upstream/VK-GL-CTS.git] / external / vulkancts / modules / vulkan / CMakeLists.txt
1 # dEQP-VK
2
3 add_subdirectory(api)
4 add_subdirectory(pipeline)
5 add_subdirectory(binding_model)
6 add_subdirectory(spirv_assembly)
7 add_subdirectory(shaderrender)
8 add_subdirectory(shaderexecutor)
9 add_subdirectory(memory)
10 add_subdirectory(ubo)
11 add_subdirectory(dynamic_state)
12 add_subdirectory(ssbo)
13 add_subdirectory(query_pool)
14 add_subdirectory(draw)
15 add_subdirectory(compute)
16 add_subdirectory(image)
17 add_subdirectory(wsi)
18 add_subdirectory(sparse_resources)
19 add_subdirectory(tessellation)
20 add_subdirectory(rasterization)
21 add_subdirectory(synchronization)
22 add_subdirectory(clipping)
23 add_subdirectory(fragment_ops)
24 add_subdirectory(geometry)
25 add_subdirectory(texture)
26 add_subdirectory(robustness)
27 add_subdirectory(renderpass)
28
29 include_directories(
30         api
31         pipeline
32         binding_model
33         spirv_assembly
34         shaderrender
35         shaderexecutor
36         memory
37         ubo
38         dynamic_state
39         ssbo
40         query_pool
41         draw
42         compute
43         image
44         wsi
45         sparse_resources
46         tessellation
47         rasterization
48         synchronization
49         clipping
50         fragment_ops
51         texture
52         geometry
53         robustness
54         renderpass
55         )
56
57 set(DEQP_VK_SRCS
58         vktTestCase.cpp
59         vktTestCase.hpp
60         vktTestCaseUtil.cpp
61         vktTestCaseUtil.hpp
62         vktTestPackage.cpp
63         vktTestPackage.hpp
64         vktShaderLibrary.cpp
65         vktShaderLibrary.hpp
66         vktTestGroupUtil.cpp
67         vktTestGroupUtil.hpp
68         vktInfoTests.cpp
69         vktInfoTests.hpp
70         vktDrawUtil.cpp
71         vktDrawUtil.hpp
72         vktExternalMemoryUtil.cpp
73         vktExternalMemoryUtil.hpp
74         )
75
76 set(DEQP_VK_LIBS
77         tcutil
78         vkutil
79         glutil
80         deqp-vk-api
81         deqp-vk-pipeline
82         deqp-vk-binding-model
83         deqp-vk-spirv-assembly
84         deqp-vk-shaderrender
85         deqp-vk-shaderexecutor
86         deqp-vk-memory
87         deqp-vk-ubo
88         deqp-vk-dynamic-state
89         deqp-vk-ssbo
90         deqp-vk-query-pool
91         deqp-vk-draw
92         deqp-vk-compute
93         deqp-vk-image
94         deqp-vk-wsi
95         deqp-vk-sparse-resources
96         deqp-vk-tessellation
97         deqp-vk-rasterization
98         deqp-vk-synchronization
99         deqp-vk-clipping
100         deqp-vk-fragment-ops
101         deqp-vk-texture
102         deqp-vk-geometry
103         deqp-vk-robustness
104         deqp-vk-render-pass
105         )
106
107 if (DE_COMPILER_IS_MSC AND (DE_PTR_SIZE EQUAL 4))
108     set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
109 endif ()
110
111 add_deqp_module(deqp-vk "${DEQP_VK_SRCS}" "${DEQP_VK_LIBS}" vktTestPackageEntry.cpp)
112
113 add_data_dir(deqp-vk ../../data/vulkan  vulkan)
114
115 if (DE_OS_IS_WIN32 OR DE_OS_IS_UNIX OR DE_OS_IS_OSX)
116         add_executable(vk-build-programs vktBuildPrograms.cpp)
117         target_link_libraries(vk-build-programs deqp-vk${MODULE_LIB_TARGET_POSTFIX})
118 endif ()