QtCreator 3.0.1: Additional Preprocessor Directives for whole project instead of single file
How can I set a preprocessor directive for the whole project in Qt? For a single file I can choose "Tools -> C++ -> Additional Preprocessor Directives..." and set something like "#define MYFEATURE 1". But I don't find a way to set such a definition for the whole project.
I have to use cmake and can't use qmake. We are a group of several hundred programmers, most of them using eclipse or netbeans (which, by the way, offer this option), therefore I can't change some globally used files like CMakeList.txt. I need a local file to store this information.