blob: 42e5a476cf4ca728cf41da0110718ca9c2ce10cb [file] [log] [blame]
Jim Flynne195a042022-04-12 17:19:28 +01001if (NOT BUILD_BARE_METAL)
2 if(BUILD_SAMPLE_APP AND ARMNNREF)
3 add_executable(SimpleSample SimpleSample.cpp)
4 target_link_libraries(SimpleSample armnn ${CMAKE_THREAD_LIBS_INIT})
Jan Eilerse38c4182021-09-02 13:12:11 +01005
Jim Flynne195a042022-04-12 17:19:28 +01006 add_executable(AsyncExecutionSample AsyncExecutionSample.cpp)
7 target_link_libraries(AsyncExecutionSample armnn ${CMAKE_THREAD_LIBS_INIT})
8 endif()
9
10 if(BUILD_SAMPLE_APP AND SAMPLE_DYNAMIC_BACKEND)
11 add_executable(DynamicSample DynamicSample.cpp)
12 target_link_libraries(DynamicSample armnn ${CMAKE_THREAD_LIBS_INIT})
13 endif()
14
15 if(BUILD_SAMPLE_APP AND ARMCOMPUTECL)
16 add_executable(CustomMemoryAllocatorSample CustomMemoryAllocatorSample.cpp)
17 target_link_libraries(CustomMemoryAllocatorSample armnn ${CMAKE_THREAD_LIBS_INIT})
18 endif()
19
20 if(BUILD_SAMPLE_APP AND ARMNNREF)
21 add_executable(PreImportMemorySample PreImportMemorySample.cpp)
22 target_link_libraries(PreImportMemorySample armnn ${CMAKE_THREAD_LIBS_INIT})
23 endif()
24else()
25 if (ARMNNREF)
26 add_executable(BareMetalDeserializedGraph BareMetalDeserializedGraph.cpp)
27 target_link_libraries(BareMetalDeserializedGraph fmt pipeCommon pipeClient armnn)
28 endif()
telsoa01c577f2c2018-08-31 09:22:23 +010029endif()