Commit 6ec2b865 authored by Avijit's avatar Avijit

FInished the plugin skeleton implementation.

parent 63eaf425
......@@ -29,3 +29,8 @@ void NGraph::add_params( const std::vector<std::string>& paramList )
INFO << "Adding parameters";
m_params.insert(m_params.end(), paramList.begin(), paramList.end());
}
const std::vector<std::string>& NGraph::get_params() const
{
return m_params;
}
......@@ -20,7 +20,7 @@ class NGraph
{
public:
void add_params(const std::vector<std::string>& paramList);
const std::vector<std::string>& get_params() const { return m_params; }
const std::vector<std::string>& get_params() const;
std::string get_name() const { return "NGraph Plugin"; }
private:
......
......@@ -38,7 +38,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCURDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"")
add_executable(unit-test ${SRC})
target_link_libraries(unit-test ngraph pthread libgtest)
target_link_libraries(unit-test ${CMAKE_DL_LIBS})
add_dependencies(unit-test ngraph libgtest)
add_custom_target(check
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment