IVGCVSW-1946: Remove armnn/src from the include paths
[platform/upstream/armnn.git] / src / backends / cl / CMakeLists.txt
1 #
2 # Copyright © 2017 Arm Ltd. All rights reserved.
3 # SPDX-License-Identifier: MIT
4 #
5
6 list(APPEND armnnClBackend_sources
7     ClBackendId.hpp
8     ClLayerSupport.cpp
9     ClLayerSupport.hpp
10     ClWorkloadFactory.cpp
11     ClWorkloadFactory.hpp
12 )
13
14 if(ARMCOMPUTECL)
15     list(APPEND armnnClBackend_sources
16         ClBackendContext.cpp
17         ClBackendContext.hpp
18         ClBackend.cpp
19         ClBackend.hpp
20         ClContextControl.cpp
21         ClContextControl.hpp
22         ClTensorHandle.hpp
23         OpenClTimer.cpp
24         OpenClTimer.hpp
25     )
26
27     add_subdirectory(workloads)
28
29     if(BUILD_UNIT_TESTS)
30         add_subdirectory(test)
31     endif()
32 endif()
33
34 add_library(armnnClBackend OBJECT ${armnnClBackend_sources})
35 target_include_directories(armnnClBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/armnn)
36 target_include_directories(armnnClBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/armnnUtils)
37 target_include_directories(armnnClBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/backends)
38