Set compiler flags for a single file using QMake

How can you specify compiler flags for a single source file using a QMake.pro file?

+3


source to share


1 answer


Avoid using different flags for different files in the same assembly!



You should always find a baseline that works across the board. Mixing flags can lead to complications where invalid code from one file interferes with correctly functioning code from another, etc. These files are created together, so they need to be compiled together and evenly.

-3


source







All Articles