Merge pull request #703 from nixprime/master

Add -include to INCLUDE_FLAGS
This commit is contained in:
Val Markovic 2013-12-03 12:57:19 -08:00
commit c20943db87

View File

@ -28,7 +28,8 @@ NO_EXTRA_CONF_FILENAME_MESSAGE = ( 'No {0} file detected, so no compile flags '
'DOCS *NOW*, DON\'T file a bug report.' ).format(
extra_conf_store.YCM_EXTRA_CONF_FILENAME )
INCLUDE_FLAGS = [ '-isystem', '-I', '-iquote', '--sysroot=', '-isysroot' ]
INCLUDE_FLAGS = [ '-isystem', '-I', '-iquote', '--sysroot=', '-isysroot',
'-include' ]
class Flags( object ):
"""Keeps track of the flags necessary to compile a file.