Quote from: Volker Dirr on May 14, 2014, 10:00:30 PM
ah. ok. i see. it is an "improvement" of the "Note 2" in "README" (see fet directory). let's see what Liviu think but i don't see disadvantages if that is added.
just to understand correct: you only need to add that line in src/src.pro and src/src-cl.pro. It doesn't work in fet.pro.
Excuse me, Volker Dirr, I forgot to reply to you.
Yes, the fet.pro modified has no effect because the statement about CFLAGS and CXXFLAGS was not propagated to the subprojects fet.pro and fet-cl.pro. I have to add the statement in the two subprojects files or, if there was an include(../common.conf) in these two files I could just change the file common.conf.
The alternative solution of the hidden file .qmake.cache has two drawbacks:
- is an hidden file and it might not be noticed, it might be forgotten, overlooked;
- if -nocache is specified when qmake is run, the hidden file is ignored and it will not be processed.