TEMPLATE = app
TARGET = librehubd
CONFIG += console c++17
CONFIG -= app_bundle
CONFIG -= qt

win32 {
  LIBS += -L$$PWD/lib/win32_mingw64/ C:/Qt/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/libstdc++fs.a
}
linux-g++ | linux-g++-64 | linux-g++-32 {
  LIBS += -L$$PWD/lib/linux_x64/
}

INCLUDEPATH += $$PWD/include/
LIBS += -lstdc++fs -ltcp -lpthread -lssl -lcrypto -lbinom

#include(BinOM/binom.pri) # For BinOM Debugging

win32 {
  INCLUDEPATH += $$PWD/include/win32/
  LIBS += C:\Qt\Tools\mingw730_64\x86_64-w64-mingw32\lib\libws2_32.a
}


# Debug


HEADERS += \
    include/common.hpp \
    include/server/application.hpp \
    include/server/request_handler.hpp \
    include/server_db.hpp \
    include/security.hpp

SOURCES += \
    source/server/application.cpp \
    source/security.cpp \
    source/server/request_handler.cpp
