Open thomasgeissl opened 8 years ago
I just came across this again, it can be solved by adding this line to a config.make.
PROJECT_EXCLUSIONS=$(PROJECT_ROOT)/local_addons%
This also solves the windows includes for ofxOsc.
It would be nice if local addons get excluded automatically.
Another little note: PROJECT_EXCLUSIONS should be PROJECT_EXCLUDES
.
We use already ADDON_LIBS_EXCLUDE
and ADDON_INCLUDES_EXCLUDES
.
Could not we exclude everything but src
(and libs
) by default?
mmh, yes i think the makefiles, and the PG? include every folder in the project as source but probably it shouldn't be doing that and only include src which would solve this
The PG excludes local addons, but it probably adds everything inside addon_root to the sources. Qbs behaves like the makefiles and includes local addons twice.
I think only src should be added automatically. And maybe libs could be added automatically too, the same way as for addons.
I try to use local addons in osx, using the makefile. I have the following directory structure.
when I try to compile, I get duplicate symbols errors:
This happens also when i try to compile opencvExample with ofxOpenCv included, I havent tested others. Trying to compile oscReceiveExample with ofxOsc locally, it includes ofxOsc/libs/oscpack/src/ip/win32/*