IVGCVSW-1963: Add implementation classes for Cl, Neon and Ref backends
[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     ClBackend.cpp
8     ClBackend.hpp
9     ClContextControl.cpp
10     ClContextControl.hpp
11     ClLayerSupport.cpp
12     ClLayerSupport.hpp
13     ClWorkloadFactory.cpp
14     ClWorkloadFactory.hpp
15 )
16
17 if(ARMCOMPUTECL)
18     add_subdirectory(workloads test)
19 endif()
20
21 add_library(armnnClBackend STATIC ${armnnClBackend_sources})
22 target_include_directories(armnnClBackend PRIVATE ${PROJECT_SOURCE_DIR}/src)
23 target_include_directories(armnnClBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/armnn)
24 target_include_directories(armnnClBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/armnnUtils)