Make main take schema arguments

The main executable now parses YANG schemas as command line arguments
and also sets the search dirs to where the files are located.

Change-Id: I0141ed0330038ba46ae49aa75c44da4af833d40c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4e09b90..0db1e2c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -85,6 +85,12 @@
     src/main.cpp
     )
 target_link_libraries(netconf-cli yangschema docopt parser)
+if(CMAKE_CXX_FLAGS MATCHES "-stdlib=libc\\+\\+")
+    target_link_libraries(netconf-cli c++experimental)
+else()
+    target_link_libraries(netconf-cli stdc++fs)
+endif()
+
 add_dependencies(netconf-cli target-NETCONF_CLI_VERSION)
 target_include_directories(netconf-cli PRIVATE ${PROJECT_BINARY_DIR})