summaryrefslogtreecommitdiff
path: root/compiler/tflite2circle/CMakeLists.txt
blob: b1d1f6149ff104f99a2a2413525af5603df52f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
nnas_include(TargetRequire)

unset(REQUIRED_TARGETS)
list(APPEND REQUIRED_TARGETS mio_tflite)
list(APPEND REQUIRED_TARGETS mio_circle)
TargetRequire_Return(${REQUIRED_TARGETS})

set(DRIVER "driver/Driver.cpp")
file(GLOB_RECURSE SOURCES "src/*.cpp")
add_executable(tflite2circle ${DRIVER} ${SOURCES})
target_include_directories(tflite2circle PRIVATE include)
target_include_directories(tflite2circle PRIVATE src)
target_link_libraries(tflite2circle arser)
target_link_libraries(tflite2circle safemain)
target_link_libraries(tflite2circle mio_tflite)
target_link_libraries(tflite2circle mio_circle)
target_link_libraries(tflite2circle vconone)

install(TARGETS tflite2circle DESTINATION bin)