YouCompleteMe extra configuration file for IDE
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 31 May 2017 15:19:25 +0000 (17:19 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 1 Jun 2017 16:26:18 +0000 (18:26 +0200)
Change-Id: I915cfefcbeadeda56c949a405dc3194edf1faf99
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/.ycm_extra_conf.py [new file with mode: 0644]

diff --git a/CAN-binder/.ycm_extra_conf.py b/CAN-binder/.ycm_extra_conf.py
new file mode 100644 (file)
index 0000000..26b1fc5
--- /dev/null
@@ -0,0 +1,12 @@
+def FlagsForFile( filename, **kwargs ):
+  return {
+    'flags': [ '-x', 'c++', '-Wall', '-Wextra', '-Werror', '-std=c++11',
+'-DPB_FIELD_16BIT', '-D_REENTRANT', "-I/usr/include/json-c",
+"-I/opt/include",
+"-I/home/claneys/Workspace/Sources/IOTbzh/low-level-can-service/CAN-binder/libs/ini-config",
+"-I/home/claneys/Workspace/Sources/IOTbzh/low-level-can-service/CAN-binder/libs/openxc-message-format/gen/cpp",
+"-I/home/claneys/Workspace/Sources/IOTbzh/low-level-can-service/CAN-binder/libs/openxc-message-format/../nanopb",
+"-I/home/claneys/Workspace/Sources/IOTbzh/low-level-can-service/CAN-binder/libs/uds-c/src",
+"-I/home/claneys/Workspace/Sources/IOTbzh/low-level-can-service/CAN-binder/libs/isotp-c/src",
+"-I/home/claneys/Workspace/Sources/IOTbzh/low-level-can-service/CAN-binder/libs/bitfield-c/src" ],
+  }