Is there a way to exclude a particular source file using PROJECT_EXCLUSIONS in the config.make project file? There is one .cpp file I want to exclude, but doing this:
PROJECT_EXCLUSIONS = $(PROJECT_ROOT)/src/thefile.cpp
doesn’t work. It seems that PROJECT_EXCLUSIONS only works on whole directories?
brad
oops, forgot to include:
OF 0.9.3
Eclipse Mars, 4.5.2
OSX 10.10.5
brad
I found a solution to this, and posted it here:
For OF v0.9.3/Android, using Eclipse to build projects (I’m running under OS X 10.10.5):
I wanted to exclude a single source file from one of my src directories, and I discovered that setting
PROJECT_EXCLUSIONS = $(OF_ROOT)/src/thefile.cpp
in the project “config.make” file did not work. In the main “config.project.mk” in the OF/libs/openFrameworksCompiled/project/makefileCommon dir, the PROJECT_EXCLUSIONS are used to find directories to exclude, but not particular files (line 287 of my “conf…
hopefully it may help someone else some day!
brad