QMake -- how to test for build type (release, debug)
Solved
General and Desktop
-
I was looking for a QMake variable that has the build type (release, debug), but I couldn't find it. So, I tried the "contains" test:
contains(OUT_PWD, *debug*)
which always returns false. And I have tried a lot of variants.
Where should I look to get that info?
-
I was looking for a QMake variable that has the build type (release, debug), but I couldn't find it. So, I tried the "contains" test:
contains(OUT_PWD, *debug*)
which always returns false. And I have tried a lot of variants.
Where should I look to get that info?
-
I was looking for a QMake variable that has the build type (release, debug), but I couldn't find it. So, I tried the "contains" test:
contains(OUT_PWD, *debug*)
which always returns false. And I have tried a lot of variants.
Where should I look to get that info?