On Fri, Mar 04, 2011 at 05:41:22PM +0000, Campbell Barton wrote: > >> The issue is defines are not global, they are per file though > >> per-directory would be good enough for my use. > >> > >> I was wondering if there was a way to set defines so they are not set > >> for the whole project. > > > > I am not sure I understand the question. > > > > Would putting the macros an a separate defines.h file and > > #include "defines.h" in the interesting files help? > > > > Andre' > > This would work but the defines are compile time options which is why > they are not in a header, I we could use a config.h method to setup > defines but at the moment we don't and its a big enough project that > its not simple to make changes like this. > > The issue is, when you add defines in the *.config file they are > defined everywhere as far as qtcreator is concerned, but when being > built they are not.
What build system are you using? Andre' _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
