From daa1588a79ce7a0f6e24ad198c2298fd64a323f5 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 31 May 2017 17:19:25 +0200 Subject: YouCompleteMe extra configuration file for IDE Change-Id: I915cfefcbeadeda56c949a405dc3194edf1faf99 Signed-off-by: Romain Forlot --- CAN-binder/.ycm_extra_conf.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CAN-binder/.ycm_extra_conf.py (limited to 'CAN-binder/.ycm_extra_conf.py') diff --git a/CAN-binder/.ycm_extra_conf.py b/CAN-binder/.ycm_extra_conf.py new file mode 100644 index 0000000..26b1fc5 --- /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" ], + } -- cgit 1.2.3-korg