diff options
Diffstat (limited to 'utils.pri')
-rw-r--r-- | utils.pri | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils.pri b/utils.pri new file mode 100644 index 0000000..8d56baa --- /dev/null +++ b/utils.pri @@ -0,0 +1,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) +} |