blob: 82034124d82bbd180aabc14b74898469754f3e97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import os
import ycm_core
flags = [
'-Wall',
'-DFOR_TESTING',
'-Iinclude',
'-Iinclude/arch/arm',
'-Itest_harness/',
'-DARCH_STMT32L4',
'-DDRY_RUN',
# -Iinclude/arch/arm -Itest_harness/ -DARCH_STM32L4 -DDRY_RUN -Wall -DFOR_TESTINGk
]
SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', ]
def FlagsForFile( filename, **kwargs ):
return {
'flags': flags,
'do_cache': True
}
|