PROJECT_EXCLUSIONS and single source files?

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:

hopefully it may help someone else some day!

brad