Jim Flynn | e195a04 | 2022-04-12 17:19:28 +0100 | [diff] [blame] | 1 | if (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 Eilers | e38c418 | 2021-09-02 13:12:11 +0100 | [diff] [blame] | 5 | |
Jim Flynn | e195a04 | 2022-04-12 17:19:28 +0100 | [diff] [blame] | 6 | 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() |
| 24 | else() |
| 25 | if (ARMNNREF) |
| 26 | add_executable(BareMetalDeserializedGraph BareMetalDeserializedGraph.cpp) |
| 27 | target_link_libraries(BareMetalDeserializedGraph fmt pipeCommon pipeClient armnn) |
| 28 | endif() |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 29 | endif() |