diff options
Diffstat (limited to 'runtimes/neurun/src/kernel/cpu/CMakeLists.txt')
-rw-r--r-- | runtimes/neurun/src/kernel/cpu/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/runtimes/neurun/src/kernel/cpu/CMakeLists.txt b/runtimes/neurun/src/kernel/cpu/CMakeLists.txt new file mode 100644 index 000000000..dddf154c3 --- /dev/null +++ b/runtimes/neurun/src/kernel/cpu/CMakeLists.txt @@ -0,0 +1,14 @@ +file(GLOB SOURCES "*.cc") + +add_library(${LIB_NEURUN_KERNEL_CPU} STATIC ${SOURCES}) + +target_include_directories(${LIB_NEURUN_KERNEL_CPU} PUBLIC ${NNFW_INCLUDE_DIR}) +target_include_directories(${LIB_NEURUN_KERNEL_CPU} PUBLIC ${NEURUN_INCLUDE_DIR}) +target_include_directories(${LIB_NEURUN_KERNEL_CPU} PUBLIC ${CMAKE_SOURCE_DIR}/externals/tensorflow) + +target_link_libraries(${LIB_NEURUN_KERNEL_CPU} arm_compute) # TODO We should not need this +target_link_libraries(${LIB_NEURUN_KERNEL_CPU} tensorflow-lite) + +set_target_properties(${LIB_NEURUN_KERNEL_CPU} PROPERTIES POSITION_INDEPENDENT_CODE ON) +set_target_properties(${LIB_NEURUN_KERNEL_CPU} PROPERTIES OUTPUT_NAME kernel_cpu) +install(TARGETS ${LIB_NEURUN_KERNEL_CPU} DESTINATION lib/neurun) |