Fix the YCM configuration for the simulator.

Change-Id: Ib83b3e53eedf8425813eeb45cb931a583e61a30d
This commit is contained in:
Alexandre Rames 2016-07-01 14:00:22 +01:00
parent 6a46bf3b4e
commit 89dabc88e9

View File

@ -14,6 +14,7 @@ def AbsolutePath(path):
flags = [ flags = [
'-I', AbsolutePath('src'), '-I', AbsolutePath('src'),
'-I', AbsolutePath('test'),
'-DVIXL_DEBUG' '-DVIXL_DEBUG'
'-Wall', '-Wall',
'-Werror', '-Werror',
@ -26,7 +27,7 @@ flags = [
] ]
if platform.machine() != 'aarch64': if platform.machine() != 'aarch64':
flags.append('-DUSE_SIMULATOR') flags.append('-DVIXL_INCLUDE_SIMULATOR')
def FlagsForFile(filename, **kwargs): def FlagsForFile(filename, **kwargs):