blob: e5ee711627bce5b534765257d8afd6ba7ab42eab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#
# Copyright © 2018-2023 Arm Ltd and Contributors. All rights reserved.
# SPDX-License-Identifier: MIT
#
if (NOT BUILD_BARE_METAL AND NOT EXECUTE_NETWORK_STATIC)
if(BUILD_SAMPLE_APP AND ARMNNREF)
add_executable(SimpleSample SimpleSample.cpp)
target_link_libraries(SimpleSample armnn ${CMAKE_THREAD_LIBS_INIT})
add_executable(AsyncExecutionSample AsyncExecutionSample.cpp)
target_link_libraries(AsyncExecutionSample armnn ${CMAKE_THREAD_LIBS_INIT})
endif()
if(BUILD_SAMPLE_APP AND SAMPLE_DYNAMIC_BACKEND)
add_executable(DynamicSample DynamicSample.cpp)
target_link_libraries(DynamicSample armnn ${CMAKE_THREAD_LIBS_INIT})
endif()
if(BUILD_SAMPLE_APP AND ARMCOMPUTECL)
add_executable(CustomMemoryAllocatorSample CustomMemoryAllocatorSample.cpp)
target_link_libraries(CustomMemoryAllocatorSample armnn ${CMAKE_THREAD_LIBS_INIT})
endif()
if(BUILD_SAMPLE_APP AND ARMNNREF)
add_executable(PreImportMemorySample PreImportMemorySample.cpp)
target_link_libraries(PreImportMemorySample armnn ${CMAKE_THREAD_LIBS_INIT})
endif()
else()
if (ARMNNREF)
add_executable(BareMetalDeserializedGraph BareMetalDeserializedGraph.cpp)
target_link_libraries(BareMetalDeserializedGraph fmt pipeCommon pipeClient armnn)
endif()
endif()
|