summaryrefslogtreecommitdiffstats
path: root/CAN-binder
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-31 17:19:25 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-06-01 18:26:18 +0200
commitdaa1588a79ce7a0f6e24ad198c2298fd64a323f5 (patch)
tree1a3cc2be537df83cba1f1d173405fbbc52ef75ab /CAN-binder
parentdeb7525f8e54859a8b271258cf01fe7e6fbe4b94 (diff)
YouCompleteMe extra configuration file for IDE
Change-Id: I915cfefcbeadeda56c949a405dc3194edf1faf99 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder')
-rw-r--r--CAN-binder/.ycm_extra_conf.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/CAN-binder/.ycm_extra_conf.py b/CAN-binder/.ycm_extra_conf.py
new file mode 100644
index 00000000..26b1fc5f
--- /dev/null
+++ b/CAN-binder/.ycm_extra_conf.py
@@ -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" ],
+ }