utils.pri 448 B

12345678910111213141516171819202122
  1. defineReplace(libTargetName) {
  2. CONFIG(debug, debug|release){
  3. LIBTARGET_SUFFIX = "d"
  4. }else{
  5. LIBTARGET_SUFFIX = ""
  6. }
  7. return($$1$$LIBTARGET_SUFFIX)
  8. }
  9. defineReplace(libTargetFullName) {
  10. BASE = $$1
  11. unix:PREFIX = lib
  12. # CONFIG(staticlib) {
  13. win32:EXT = lib
  14. unix:EXT = a
  15. # }else {
  16. # win32:EXT = dll
  17. # unix:EXT = so
  18. # }
  19. return($$PREFIX$$BASE"."$$EXT)
  20. }