shared.pri 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ###########################################################################################
  2. ## Created using Monkey Studio v1.8.4.0 (1.8.4.0)
  3. ##
  4. ## Author : Filipe Azevedo aka Nox P@sNox <pasnox@gmail.com>
  5. ## Project : qwbfs
  6. ## FileName : shared.pri
  7. ## Date : 2010-04-04T11:04:05
  8. ## License : GPL2
  9. ## Comment : Creating using Monkey Studio RAD
  10. ## Home Page : https://github.com/pasnox/qwbfsmanager
  11. ##
  12. ###########################################################################################
  13. !contains( TEMPLATE, subdirs ) {
  14. win32:!isEqual( $$lower( $$QMAKE_HOST.os ), "windows" ):CONFIG *= win32_crossbuild
  15. isEmpty(build_mode):build_mode = release
  16. CONFIG -= debug_and_release release debug warn_off warn_on x86 ppc
  17. CONFIG *= $$build_mode warn_on
  18. message("The whole application will be built in $$build_mode")
  19. CONFIG(debug, debug|release) {
  20. #Debug
  21. CONFIG *= console
  22. unix:TARGET = $$join(TARGET,,,_debug)
  23. else:TARGET = $$join(TARGET,,,d)
  24. unix:OBJECTS_DIR = $${BUILD_PATH}/debug/obj/unix
  25. win32:OBJECTS_DIR = $${BUILD_PATH}/debug/obj/win32
  26. macx:OBJECTS_DIR = $${BUILD_PATH}/debug/obj/mac
  27. UI_DIR = $${BUILD_PATH}/debug/ui
  28. MOC_DIR = $${BUILD_PATH}/debug/moc
  29. RCC_DIR = $${BUILD_PATH}/debug/rcc
  30. } else {
  31. #Release
  32. unix:OBJECTS_DIR = $${BUILD_PATH}/release/obj/unix
  33. win32:OBJECTS_DIR = $${BUILD_PATH}/release/obj/win32
  34. macx:OBJECTS_DIR = $${BUILD_PATH}/release/obj/mac
  35. UI_DIR = $${BUILD_PATH}/release/ui
  36. MOC_DIR = $${BUILD_PATH}/release/moc
  37. RCC_DIR = $${BUILD_PATH}/release/rcc
  38. }
  39. # Mac universal build from 10.3 to up to 10.5
  40. macx:universal {
  41. QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.3
  42. QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
  43. CONFIG *= x86 ppc
  44. }
  45. }