QT += network xml sql DEFINES += CPPWEBFRAMEWORK_STATIC DEFINES += QT_DEPRECATED_WARNINGS SOURCES += \ $$PWD/cwf/configuration.cpp \ $$PWD/cwf/cppwebapplication.cpp \ $$PWD/cwf/cppwebserver.cpp \ $$PWD/cwf/cstlcompiler.cpp \ $$PWD/cwf/cstlcompilerattributes.cpp \ $$PWD/cwf/cstlcompilerfor.cpp \ $$PWD/cwf/cstlcompilerif.cpp \ $$PWD/cwf/cstlcompilerimport.cpp \ $$PWD/cwf/filemanager.cpp \ $$PWD/cwf/filterchain.cpp \ $$PWD/cwf/httpparser.cpp \ $$PWD/cwf/httpreadrequest.cpp \ $$PWD/cwf/metaclassparser.cpp \ $$PWD/cwf/properties.cpp \ $$PWD/cwf/qlistobject.cpp \ $$PWD/cwf/requestdispatcher.cpp \ $$PWD/cwf/urlencoder.cpp \ $$PWD/cwf/sqlquery.cpp \ $$PWD/cwf/response.cpp \ $$PWD/cwf/request.cpp \ $$PWD/cwf/controller.cpp \ $$PWD/cwf/session.cpp \ $$PWD/cwf/cppwebcontroller.cpp \ $$PWD/cwf/sslloader.cpp \ $$PWD/cwf/filter.cpp \ $$PWD/cwf/model.cpp \ $$PWD/cwf/modelbasicoperation.cpp \ $$PWD/cwf/sqlquerymanager.cpp HEADERS += \ $$PWD/cwf/cppwebframework_global.h \ $$PWD/cwf/configuration.h \ $$PWD/cwf/constants.h \ $$PWD/cwf/cppwebapplication.h \ $$PWD/cwf/cppwebframework_global.h \ $$PWD/cwf/cppwebserver.h \ $$PWD/cwf/cstlcompiler.h \ $$PWD/cwf/cstlcompilerattributes.h \ $$PWD/cwf/cstlcompilerfor.h \ $$PWD/cwf/cstlcompilerif.h \ $$PWD/cwf/cstlcompilerimport.h \ $$PWD/cwf/cstlcompilerobject.h \ $$PWD/cwf/filemanager.h \ $$PWD/cwf/filter.h \ $$PWD/cwf/filterchain.h \ $$PWD/cwf/httpparser.h \ $$PWD/cwf/httpreadrequest.h \ $$PWD/cwf/metaclassparser.h \ $$PWD/cwf/properties.h \ $$PWD/cwf/qlistobject.h \ $$PWD/cwf/qmapthreadsafety.h \ $$PWD/cwf/requestdispatcher.h \ $$PWD/cwf/urlencoder.h \ $$PWD/cwf/variant.h \ $$PWD/cwf/sqldatabasestorage.h \ $$PWD/cwf/sqlquery.h \ $$PWD/cwf/controller.h \ $$PWD/cwf/request.h \ $$PWD/cwf/response.h \ $$PWD/cwf/session.h \ $$PWD/cwf/cppwebcontroller.h \ $$PWD/cwf/sslloader.h \ $$PWD/cwf/model.h \ $$PWD/cwf/modelbasicoperation.h \ $$PWD/cwf/sqlquerymanager.h DISTFILES += \ $$PWD/server/config/ssl/my.key \ $$PWD/server/config/ssl/my.cert \ $$PWD/server/config/cppwebserverpages/403.view \ $$PWD/server/config/cppwebserverpages/404.view \ $$PWD/server/config/cppwebserverpages/index.view \ $$PWD/server/config/cppwebserverpages/resources/images/logo.jpg \ $$PWD/server/config/cppwebserverpages/resources/images/favicon.ico \ $$PWD/server/config/cppwebserverpages/resources/css/cppweb.css \ $$PWD/server/config/CPPWeb.ini \ $$PWD/server/config/log/CPPWebServer.log INCLUDEPATH += $$PWD # unix { # headers.path = /usr/lib/cwf # headers.files += $$HEADERS # target.path = /usr/lib # config.path = /usr/lib/server # config.files = server/* # } # macx { # headers.path = /usr/local/lib/cwf # headers.files += $$HEADERS # target.path = /usr/local/lib # config.path = /usr/local/lib/server # config.files = server/* # } # win32 { # headers.path = C:/cwf # headers.files += $$HEADERS # target.path = C:/cwf # config.path = C:/cwf/server # config.files = server/* # } # CONFIG += debug_and_release # CONFIG += build_all # CONFIG(debug, debug|release) { # TARGET = CPPWebFrameworkd # } else { # TARGET = CPPWebFramework # QMAKE_CXXFLAGS_RELEASE -= -O1 # QMAKE_CXXFLAGS_RELEASE -= -O2 # QMAKE_CXXFLAGS_RELEASE += -O3 # } # INSTALLS += target # INSTALLS += headers # INSTALLS += config QMAKE_CXXFLAGS += -std=c++11 #Strongly recommended #LIBS += -ljemalloc