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

add '-target' to whitelist #121

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

Wurstnase
Copy link

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