IVGCVSW-2037 : separate registry for layer support intrefaces
[platform/upstream/armnn.git] / src / backends / reference / CMakeLists.txt
1 #
2 # Copyright © 2017 Arm Ltd. All rights reserved.
3 # SPDX-License-Identifier: MIT
4 #
5
6 list(APPEND armnnRefBackend_sources
7     RefBackend.cpp
8     RefBackend.hpp
9     RefBackendId.hpp
10     RefLayerSupport.cpp
11     RefLayerSupport.hpp
12     RefWorkloadFactory.cpp
13     RefWorkloadFactory.hpp
14 )
15
16 add_library(armnnRefBackend OBJECT ${armnnRefBackend_sources})
17 target_include_directories(armnnRefBackend PRIVATE ${PROJECT_SOURCE_DIR}/src)
18 target_include_directories(armnnRefBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/armnn)
19 target_include_directories(armnnRefBackend PRIVATE ${PROJECT_SOURCE_DIR}/src/armnnUtils)
20
21 add_subdirectory(workloads)
22
23 if(BUILD_UNIT_TESTS)
24     add_subdirectory(test)
25 endif()