I am trying to add multiple external source paths to a project. But so far I have been unable to. When using
PROJECT_EXTERNAL_SOURCE_PATHS in the config.make i get an compiler error during make.
If I add:
PROJECT_EXTERNAL_SOURCE_PATHS = ../shared/library1
It works. As does:
PROJECT_EXTERNAL_SOURCE_PATHS = ../shared/library2
But if I try
PROJECT_EXTERNAL_SOURCE_PATHS = ../shared/library1 PROJECT_EXTERNAL_SOURCE_PATHS += ../shared/library2
I will get the error:
*** No rule to make target `obj/linux64/Release/.shared/library2/somefile.o', needed by `bin/emptyExample'. Stop.
I also tried using
$(PROJECT_ROOT)/../shared/library2 but same issue. There is a trailing space on both paths.
Any ideas? Or is there another way to achieve multiple source paths via the make file system?