Inherit project settings for compilation of source files.
Removed unused preprocessor defines.
Don't disable compilation of every source file separately if the whole project isn't activated for build.