summaryrefslogtreecommitdiffstats
path: root/utils.pri
blob: 8d56baa46bbf76f90543d5da9f0955a2b91e088c (plain)
1
2
3
4
5
6
7
8
# Add our static libs to target dependencies so we detect changes to them
defineReplace(fixLibPredeps) {
    # TODO Needs something more clever once debug libs are correctly suffixed
    for(lib, $${2}) {
        PREDEPS *= $${1}/$${QMAKE_PREFIX_STATICLIB}$${lib}$$qtPlatformTargetSuffix().$${QMAKE_EXTENSION_STATICLIB}
    }
    return($$PREDEPS)
}