diff options
author | Max Christian Pohle | 2017-05-25 02:40:18 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-05-25 02:40:18 +0200 |
commit | e8c784a9502bbaa8d3c47b2fc60884311632d968 (patch) | |
tree | 9ea1f06cd80f4c60765c4ef62708913629d54830 /.ycm_extra_conf.py | |
parent | ff7774def5479996e2acb77ddd942c036134453d (diff) | |
download | binwatch-mini-e8c784a9502bbaa8d3c47b2fc60884311632d968.tar.bz2 binwatch-mini-e8c784a9502bbaa8d3c47b2fc60884311632d968.zip |
Simple counter (in seconds)
Diffstat (limited to '.ycm_extra_conf.py')
-rw-r--r-- | .ycm_extra_conf.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py new file mode 100644 index 0000000..42834fb --- /dev/null +++ b/.ycm_extra_conf.py | |||
@@ -0,0 +1,26 @@ | |||
1 | import os | ||
2 | import ycm_core | ||
3 | |||
4 | def FlagsForFile( filename, **kwargs ): | ||
5 | return { | ||
6 | 'flags': [ | ||
7 | '-Wall', | ||
8 | '-Wextra', | ||
9 | '-Werror', | ||
10 | '-Wno-long-long', | ||
11 | '-Wno-variadic-macros', | ||
12 | '-fexceptions', | ||
13 | '-ferror-limit=10000', | ||
14 | '-DNDEBUG', | ||
15 | '-std=c99', | ||
16 | '-x', 'c', | ||
17 | '-D_GNU_SOURCE', | ||
18 | '-D__AVR_ATtiny85__', | ||
19 | '-D__AVR__', | ||
20 | '-I.', | ||
21 | '-I', '/usr/avr/include/' | ||
22 | ], | ||
23 | 'do_cache': True, | ||
24 | } | ||
25 | |||
26 | # vim:set et sw=2 ts=2 tw=120: | ||