Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

Conversation

@tonnico
Copy link

@tonnico tonnico commented Sep 7, 2018

e.g. -target arm-none-eabi
In your prefered build system you could add this build flag.
for Makefile:

ifeq($(YCMG), 1)
    CFLAGS += -target arm-none-eabi
endif

and start the generator in vim with:
YCMGeneratConfig -M=YCMG=1 -f

Probably this could be done automatically with the fake build system?

e.g. -target arm-none-eabi
In your prefered build system you could add this build flag.
for Makefile:
ifeq($(YCMG), 1)
    CFLAGS += -target arm-none-eabi
endif
and start the generator in vim with:
YCMGeneratConfig -M=YCMG=1 -f

Probably this could be done automatically with the fake build system?
…of extra_flags

so you would be able to import some extra stuff like test-frameworks
ycm_extra_manual_config.py:
extra_flags = ['-I./my_testframework/inc', '-I./some_other_includes']
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant