diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2020-10-19 17:35:30 +0100 |
---|---|---|
committer | Sadik Armagan <sadik.armagan@arm.com> | 2020-10-19 16:34:15 +0000 |
commit | 3c24f43ff9afb50898d6a73ccddbc0936f72fdad (patch) | |
tree | b4101aab6f085279cddefdc539fb3f622fc8a1b7 /delegate/cmake/Modules/ArmnnDelegateConfig.cmake.in | |
parent | 418c7dd833accc061ba4cba2743631e582962915 (diff) | |
download | armnn-3c24f43ff9afb50898d6a73ccddbc0936f72fdad.tar.gz |
IVGCVSW-5365 'Create the TfLite Delegate subdirectory in ArmNN'
* Created delegate sub-directory under armnn
* Created Delegate, ArmnnSubgraph and DelegateOptions classes
* Created cmake files.
* Integrated doctest (under MIT license) as testing framework
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: If725ebd62c40a97c783cdad22bca48709d44338c
Diffstat (limited to 'delegate/cmake/Modules/ArmnnDelegateConfig.cmake.in')
-rw-r--r-- | delegate/cmake/Modules/ArmnnDelegateConfig.cmake.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/delegate/cmake/Modules/ArmnnDelegateConfig.cmake.in b/delegate/cmake/Modules/ArmnnDelegateConfig.cmake.in new file mode 100644 index 0000000000..12d1161afa --- /dev/null +++ b/delegate/cmake/Modules/ArmnnDelegateConfig.cmake.in @@ -0,0 +1,19 @@ +# +# Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +# SPDX-License-Identifier: MIT +# + +get_filename_component(ARMNN_DELEGATE_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" DIRECTORY) +set(ARMNN_DELEGATE_CONFIG_FILE ${CMAKE_CURRENT_LIST_FILE}) +MESSAGE(STATUS "Found ArmnnDelegate: ${ARMNN_DELEGATE_CONFIG_FILE}") + +include(CMakeFindDependencyMacro) + +list(APPEND CMAKE_MODULE_PATH ${ARMNN_DELEGATE_CMAKE_DIR}) + +if(NOT TARGET ArmnnDelegate::ArmnnDelegate) + MESSAGE(STATUS "ArmnnDelegate Import: ${ARMNN_DELEGATE_CMAKE_DIR}/ArmnnDelegateTargets.cmake") + include("${ARMNN_DELEGATE_CMAKE_DIR}/ArmnnDelegateTargets.cmake") +endif() + +set(ARMNN_DELEGATE_LIBRARIES ArmnnDelegate::ArmnnDelegate)
\ No newline at end of file |