CPPWebFramework.pri 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. QT += network xml sql
  2. DEFINES += CPPWEBFRAMEWORK_STATIC
  3. DEFINES += QT_DEPRECATED_WARNINGS
  4. SOURCES += \
  5. $$PWD/cwf/configuration.cpp \
  6. $$PWD/cwf/cppwebapplication.cpp \
  7. $$PWD/cwf/cppwebserver.cpp \
  8. $$PWD/cwf/cstlcompiler.cpp \
  9. $$PWD/cwf/cstlcompilerattributes.cpp \
  10. $$PWD/cwf/cstlcompilerfor.cpp \
  11. $$PWD/cwf/cstlcompilerif.cpp \
  12. $$PWD/cwf/cstlcompilerimport.cpp \
  13. $$PWD/cwf/filemanager.cpp \
  14. $$PWD/cwf/filterchain.cpp \
  15. $$PWD/cwf/httpparser.cpp \
  16. $$PWD/cwf/httpreadrequest.cpp \
  17. $$PWD/cwf/metaclassparser.cpp \
  18. $$PWD/cwf/properties.cpp \
  19. $$PWD/cwf/qlistobject.cpp \
  20. $$PWD/cwf/requestdispatcher.cpp \
  21. $$PWD/cwf/urlencoder.cpp \
  22. $$PWD/cwf/sqlquery.cpp \
  23. $$PWD/cwf/response.cpp \
  24. $$PWD/cwf/request.cpp \
  25. $$PWD/cwf/controller.cpp \
  26. $$PWD/cwf/session.cpp \
  27. $$PWD/cwf/cppwebcontroller.cpp \
  28. $$PWD/cwf/sslloader.cpp \
  29. $$PWD/cwf/filter.cpp \
  30. $$PWD/cwf/model.cpp \
  31. $$PWD/cwf/modelbasicoperation.cpp \
  32. $$PWD/cwf/sqlquerymanager.cpp
  33. HEADERS += \
  34. $$PWD/cwf/cppwebframework_global.h \
  35. $$PWD/cwf/configuration.h \
  36. $$PWD/cwf/constants.h \
  37. $$PWD/cwf/cppwebapplication.h \
  38. $$PWD/cwf/cppwebframework_global.h \
  39. $$PWD/cwf/cppwebserver.h \
  40. $$PWD/cwf/cstlcompiler.h \
  41. $$PWD/cwf/cstlcompilerattributes.h \
  42. $$PWD/cwf/cstlcompilerfor.h \
  43. $$PWD/cwf/cstlcompilerif.h \
  44. $$PWD/cwf/cstlcompilerimport.h \
  45. $$PWD/cwf/cstlcompilerobject.h \
  46. $$PWD/cwf/filemanager.h \
  47. $$PWD/cwf/filter.h \
  48. $$PWD/cwf/filterchain.h \
  49. $$PWD/cwf/httpparser.h \
  50. $$PWD/cwf/httpreadrequest.h \
  51. $$PWD/cwf/metaclassparser.h \
  52. $$PWD/cwf/properties.h \
  53. $$PWD/cwf/qlistobject.h \
  54. $$PWD/cwf/qmapthreadsafety.h \
  55. $$PWD/cwf/requestdispatcher.h \
  56. $$PWD/cwf/urlencoder.h \
  57. $$PWD/cwf/variant.h \
  58. $$PWD/cwf/sqldatabasestorage.h \
  59. $$PWD/cwf/sqlquery.h \
  60. $$PWD/cwf/controller.h \
  61. $$PWD/cwf/request.h \
  62. $$PWD/cwf/response.h \
  63. $$PWD/cwf/session.h \
  64. $$PWD/cwf/cppwebcontroller.h \
  65. $$PWD/cwf/sslloader.h \
  66. $$PWD/cwf/model.h \
  67. $$PWD/cwf/modelbasicoperation.h \
  68. $$PWD/cwf/sqlquerymanager.h
  69. DISTFILES += \
  70. $$PWD/server/config/ssl/my.key \
  71. $$PWD/server/config/ssl/my.cert \
  72. $$PWD/server/config/cppwebserverpages/403.view \
  73. $$PWD/server/config/cppwebserverpages/404.view \
  74. $$PWD/server/config/cppwebserverpages/index.view \
  75. $$PWD/server/config/cppwebserverpages/resources/images/logo.jpg \
  76. $$PWD/server/config/cppwebserverpages/resources/images/favicon.ico \
  77. $$PWD/server/config/cppwebserverpages/resources/css/cppweb.css \
  78. $$PWD/server/config/CPPWeb.ini \
  79. $$PWD/server/config/log/CPPWebServer.log
  80. INCLUDEPATH += $$PWD
  81. # unix {
  82. # headers.path = /usr/lib/cwf
  83. # headers.files += $$HEADERS
  84. # target.path = /usr/lib
  85. # config.path = /usr/lib/server
  86. # config.files = server/*
  87. # }
  88. # macx {
  89. # headers.path = /usr/local/lib/cwf
  90. # headers.files += $$HEADERS
  91. # target.path = /usr/local/lib
  92. # config.path = /usr/local/lib/server
  93. # config.files = server/*
  94. # }
  95. # win32 {
  96. # headers.path = C:/cwf
  97. # headers.files += $$HEADERS
  98. # target.path = C:/cwf
  99. # config.path = C:/cwf/server
  100. # config.files = server/*
  101. # }
  102. # CONFIG += debug_and_release
  103. # CONFIG += build_all
  104. # CONFIG(debug, debug|release) {
  105. # TARGET = CPPWebFrameworkd
  106. # } else {
  107. # TARGET = CPPWebFramework
  108. # QMAKE_CXXFLAGS_RELEASE -= -O1
  109. # QMAKE_CXXFLAGS_RELEASE -= -O2
  110. # QMAKE_CXXFLAGS_RELEASE += -O3
  111. # }
  112. # INSTALLS += target
  113. # INSTALLS += headers
  114. # INSTALLS += config
  115. QMAKE_CXXFLAGS += -std=c++11
  116. #Strongly recommended
  117. #LIBS += -ljemalloc