Fix missing dependency on sparse binds
[platform/upstream/VK-GL-CTS.git] / executor / CMakeLists.txt
1 # Executor
2
3 # Executor depends on execserver library (xscore)
4 include_directories(../execserver)
5
6 set(XECORE_SRCS
7         xeBatchExecutor.cpp
8         xeBatchExecutor.hpp
9         xeBatchResult.cpp
10         xeBatchResult.hpp
11         xeCallQueue.cpp
12         xeCallQueue.hpp
13         xeCommLink.cpp
14         xeCommLink.hpp
15         xeContainerFormatParser.cpp
16         xeContainerFormatParser.hpp
17         xeLocalTcpIpLink.cpp
18         xeLocalTcpIpLink.hpp
19         xeTcpIpLink.cpp
20         xeTcpIpLink.hpp
21         xeTestCase.cpp
22         xeTestCase.hpp
23         xeTestCaseListParser.cpp
24         xeTestCaseListParser.hpp
25         xeTestCaseResult.cpp
26         xeTestCaseResult.hpp
27         xeTestLogParser.cpp
28         xeTestLogParser.hpp
29         xeTestLogWriter.cpp
30         xeTestLogWriter.hpp
31         xeTestResultParser.cpp
32         xeTestResultParser.hpp
33         xeXMLWriter.cpp
34         xeXMLWriter.hpp
35         )
36
37 set(XECORE_LIBS
38         xexml
39         xscore
40         decpp
41         deutil
42         dethread
43         debase
44         )
45
46 add_library(xecore STATIC ${XECORE_SRCS})
47 target_link_libraries(xecore ${XECORE_LIBS})
48
49 include_directories(.)
50 include_directories(../framework/xexml)
51
52 if (DE_OS_IS_WIN32 OR DE_OS_IS_UNIX OR DE_OS_IS_OSX OR DE_OS_IS_ANDROID)
53         add_executable(executor tools/xeCommandLineExecutor.cpp)
54         target_link_libraries(executor xecore)
55 endif ()
56
57 if (DE_OS_IS_WIN32 OR DE_OS_IS_UNIX OR DE_OS_IS_OSX)
58         add_executable(testlog-to-csv tools/xeTestLogCompare.cpp)
59         target_link_libraries(testlog-to-csv xecore)
60
61         add_executable(testlog-to-xml tools/xeBatchResultToXml.cpp)
62         target_link_libraries(testlog-to-xml xecore)
63
64         add_executable(testlog-to-junit tools/xeBatchResultToJUnit.cpp)
65         target_link_libraries(testlog-to-junit xecore)
66
67         add_executable(extract-values tools/xeExtractValues.cpp)
68         target_link_libraries(extract-values xecore)
69
70         add_executable(extract-shader-programs tools/xeExtractShaderPrograms.cpp)
71         target_link_libraries(extract-shader-programs xecore)
72
73         add_executable(merge-testlogs tools/xeMergeTestLogs.cpp)
74         target_link_libraries(merge-testlogs xecore)
75
76         add_executable(extract-sample-lists tools/xeExtractSampleLists.cpp)
77         target_link_libraries(extract-sample-lists xecore)
78 endif ()