color_widgets.pro 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #
  2. # Copyright (C) 2013-2020 Mattia Basaglia
  3. #
  4. # This program is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU Lesser General Public License as published by
  6. # the Free Software Foundation, either version 3 of the License, or
  7. # (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU Lesser General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU Lesser General Public License
  15. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. #
  17. TEMPLATE=lib
  18. #CONFIG += dll
  19. QT += core gui widgets
  20. DEFINES += QTCOLORWIDGETS_LIBRARY
  21. INCLUDEPATH += $$PWD/include
  22. TARGET=QtColorWidgets
  23. VERSION=2.2.0
  24. OBJECTS_DIR = out/obj
  25. MOC_DIR = out/generated
  26. UI_DIR = out/generated
  27. RCC_DIR = out/generated
  28. include(color_widgets.pri)
  29. build_all:!build_pass {
  30. CONFIG -= build_all
  31. CONFIG += release
  32. }
  33. unix {
  34. LIB_TARGET = lib$${TARGET}.so
  35. }
  36. win32 {
  37. LIB_TARGET = $${TARGET}.dll
  38. }
  39. android {
  40. OBJECTS_DIR = $$ANDROID_TARGET_ARCH/out/obj
  41. MOC_DIR = $$ANDROID_TARGET_ARCH/out/generated
  42. UI_DIR = $$ANDROID_TARGET_ARCH/out/generated
  43. RCC_DIR = $$ANDROID_TARGET_ARCH/out/generated
  44. }
  45. isEmpty(PREFIX) {
  46. PREFIX = /usr/local
  47. }
  48. target.path = $$PREFIX/lib
  49. headers.path = $$PREFIX/include/QtColorWidgets
  50. headers.files = $$HEADERS
  51. INSTALLS += target headers