2021-04-13 11:44 AM
Hi,
I cannot figure out how to add several include path to for the simulator.
I can add 1 path to the TouchGFX\simulator\gcc\Makefile as follow:
project_path := $(call qs,$(abspath $(call sq,$(makefile_path)../../..)))
app_path := $(call qs,$(abspath $(call sq,$(project_path)/Core/App)))
ADDITIONAL_SOURCES :=
ADDITIONAL_INCLUDE_PATHS := $(app_path)
ADDITIONAL_LIBRARY_PATHS :=
ADDITIONAL_LIBRARIES :=
export ADDITIONAL_SOURCES ADDITIONAL_INCLUDE_PATHS ADDITIONAL_LIBRARY_PATHS ADDITIONAL_LIBRARIES
Now, how do I add more path?
Thanks!
Solved! Go to Solution.
2021-04-14 06:45 AM
Hi,
If I understand you question correctly I think you should do this to add more than one path :
ADDITIONAL_INCLUDE_PATHS := $(app_path)/path1 \
$(app_path)/path2 \
$(app_path)/path3 \
ADDITIONAL_LIBRARY_PATHS :=
EDIT: the indentation is weird in my answer but you get the idea, you need \ to add an extra path
/Romain
2021-04-14 06:45 AM
Hi,
If I understand you question correctly I think you should do this to add more than one path :
ADDITIONAL_INCLUDE_PATHS := $(app_path)/path1 \
$(app_path)/path2 \
$(app_path)/path3 \
ADDITIONAL_LIBRARY_PATHS :=
EDIT: the indentation is weird in my answer but you get the idea, you need \ to add an extra path
/Romain
2021-04-14 08:54 AM
Yes, it is exactly what I need.
Thanks!