aboutsummaryrefslogtreecommitdiff
path: root/samples/CMakeLists.txt
blob: 7be6a69369c78129e1e88e881180964f77a54eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if(BUILD_SAMPLE_APP AND ARMNNREF)
    add_executable(SimpleSample SimpleSample.cpp)
    target_link_libraries(SimpleSample 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()