Matteo Martincigh | db16dd3 | 2019-08-27 16:41:11 +0100 | [diff] [blame] | 1 | if(BUILD_SAMPLE_APP AND ARMNNREF) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 2 | add_executable(SimpleSample SimpleSample.cpp) |
Matthew Bentham | 347dfcf | 2018-11-19 11:28:58 +0000 | [diff] [blame] | 3 | target_link_libraries(SimpleSample armnn ${CMAKE_THREAD_LIBS_INIT}) |
Jan Eilers | e38c418 | 2021-09-02 13:12:11 +0100 | [diff] [blame] | 4 | |
| 5 | add_executable(AsyncExecutionSample AsyncExecutionSample.cpp) |
| 6 | target_link_libraries(AsyncExecutionSample armnn ${CMAKE_THREAD_LIBS_INIT}) |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 7 | endif() |
Narumol Prangnawarat | 867eba5 | 2020-02-03 12:29:56 +0000 | [diff] [blame] | 8 | |
Narumol Prangnawarat | 13b59a4 | 2020-02-07 10:28:31 +0000 | [diff] [blame] | 9 | if(BUILD_SAMPLE_APP AND SAMPLE_DYNAMIC_BACKEND) |
Narumol Prangnawarat | 867eba5 | 2020-02-03 12:29:56 +0000 | [diff] [blame] | 10 | add_executable(DynamicSample DynamicSample.cpp) |
| 11 | target_link_libraries(DynamicSample armnn ${CMAKE_THREAD_LIBS_INIT}) |
| 12 | endif() |
Éanna Ó Catháin | 919c14e | 2020-09-14 17:36:49 +0100 | [diff] [blame] | 13 | |
Jan Eilers | c1c872f | 2021-07-22 13:17:04 +0100 | [diff] [blame] | 14 | if(BUILD_SAMPLE_APP AND ARMCOMPUTECL) |
| 15 | add_executable(CustomMemoryAllocatorSample CustomMemoryAllocatorSample.cpp) |
| 16 | target_link_libraries(CustomMemoryAllocatorSample armnn ${CMAKE_THREAD_LIBS_INIT}) |
| 17 | endif() |
| 18 | |
Francis Murtagh | b87f544 | 2021-09-23 13:20:53 +0100 | [diff] [blame] | 19 | if(BUILD_SAMPLE_APP AND ARMNNREF) |
| 20 | add_executable(PreImportMemorySample PreImportMemorySample.cpp) |
| 21 | target_link_libraries(PreImportMemorySample armnn ${CMAKE_THREAD_LIBS_INIT}) |
| 22 | endif() |
| 23 | |