# These executables are not executed anywhere because it is not yet decided
# how to store large files (in this case, files with models), and how to run all system tests.
# As soon as it is decided, model files should be added, as well as the code that runs the tests.
-if (TARGET tflite_import)
+if (TARGET tflite_importer)
add_executable(system_test_import_tflite tflite.cpp ${OPTIONS_SRC})
- target_link_libraries(system_test_import_tflite PRIVATE nnc_support tflite_import)
+ target_link_libraries(system_test_import_tflite PRIVATE nnc_support tflite_importer)
target_include_directories(system_test_import_tflite PRIVATE ${NNC_TFLITE_FRONTEND_DIR})
endif()
add_definitions(-DTFLITE_TEST_DIR="${CMAKE_CURRENT_BINARY_DIR}/")
add_nnc_unit_test(nnc_tflite_frontend_test ${TESTS} ${OPTIONS_SRC})
if (TARGET nnc_tflite_frontend_test)
- nncc_target_link_libraries(nnc_tflite_frontend_test tflite_import nnc_support nnc_core )
+ nncc_target_link_libraries(nnc_tflite_frontend_test tflite_importer nnc_support nnc_core )
target_include_directories(nnc_tflite_frontend_test PRIVATE ${NNC_TFLITE_FRONTEND_DIR})
endif()
endif()
-if (NOT TARGET tflite_import)
+if (NOT TARGET tflite_importer)
return ()
endif()
add_executable(tflite_import_example sanity_check.cpp ${OPTIONS_SRC})
target_link_libraries(tflite_import_example PUBLIC tflite_schema)
-target_link_libraries(tflite_import_example PRIVATE tflite_import)
+target_link_libraries(tflite_import_example PRIVATE tflite_importer)
target_include_directories(tflite_import_example PRIVATE ${NNC_TFLITE_FRONTEND_DIR})