LibreHub.pro 877 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. TEMPLATE = app
  2. TARGET = librehubd
  3. CONFIG += console c++17
  4. CONFIG -= app_bundle
  5. CONFIG -= qt
  6. win32 {
  7. LIBS += -L$$PWD/lib/win32_mingw64/ C:/Qt/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/libstdc++fs.a
  8. }
  9. linux-g++ | linux-g++-64 | linux-g++-32 {
  10. LIBS += -L$$PWD/lib/linux_x64/
  11. }
  12. INCLUDEPATH += $$PWD/include/
  13. LIBS += -lstdc++fs -ltcp -lpthread -lssl -lcrypto -lbinom
  14. #include(BinOM/binom.pri) # For BinOM Debugging
  15. win32 {
  16. INCLUDEPATH += $$PWD/include/win32/
  17. LIBS += C:\Qt\Tools\mingw730_64\x86_64-w64-mingw32\lib\libws2_32.a
  18. }
  19. # Debug
  20. HEADERS += \
  21. include/common.hpp \
  22. include/server/application.hpp \
  23. include/server/request_handler.hpp \
  24. include/server_db.hpp \
  25. include/security.hpp
  26. SOURCES += \
  27. source/server/application.cpp \
  28. source/security.cpp \
  29. source/server/request_handler.cpp