Now, tflchef and tflchef-file uses the main function that safemain
provides.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
add_executable(tflchef Driver.cpp)
target_link_libraries(tflchef tflchef_core)
+target_link_libraries(tflchef safemain)
#include <iostream>
-int main(int argc, char **argv)
+int entry(int argc, char **argv)
{
::tflchef::ModelRecipe model_recipe;
add_executable(tflchef-file Driver.cpp)
target_link_libraries(tflchef-file tflchef_core)
+target_link_libraries(tflchef-file safemain)
#include <fstream>
#include <iostream>
-int main(int argc, char **argv)
+int entry(int argc, char **argv)
{
if (argc != 3)
{