lgtm FEATURE add config file
diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644
index 0000000..2794096
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,19 @@
+extraction:
+ cpp:
+ prepare:
+ packages: libpcre2-dev
+ after_prepare:
+ - cd $LGTM_WORKSPACE
+ - git clone -b devel https://github.com/CESNET/libyang.git
+ - cd libyang; mkdir build; cd build
+ - cmake -DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE -DENABLE_BUILD_TESTS=OFF ..
+ - make -j2
+ - make install
+ configure:
+ command:
+ - mkdir build; cd build
+ - cmake -DCMAKE_INCLUDE_PATH=$LGTM_WORKSPACE/include -DCMAKE_LIBRARY_PATH=$LGTM_WORKSPACE/lib ..
+ index:
+ build_command:
+ - cd build
+ - make -j2