This commit creates a workspace for Caffe frontend with basic template.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
add_subdirectory(intf)
add_subdirectory(core)
+add_subdirectory(frontend)
add_subdirectory(cli)
--- /dev/null
+add_subdirectories()
--- /dev/null
+file(GLOB_RECURSE SOURCES "src/*.cpp")
+
+add_library(enco_caffe_frontend SHARED ${SOURCES})
+target_include_directories(enco_caffe_frontend PRIVATE src)
+target_link_libraries(enco_caffe_frontend enco_intf_frontend)
+target_link_libraries(enco_caffe_frontend enco_intf_cmdline)
--- /dev/null
+#include <enco/Frontend.h>
+#include <cmdline/View.h>
+
+#include <stdexcept>
+
+extern "C" std::unique_ptr<enco::Frontend> make_frontend(const cmdline::View &)
+{
+ throw std::runtime_error{"NYI; make_frontend"};
+}