added appbase submodule

This commit is contained in:
fourtf 2018-11-22 19:36:58 +01:00
parent 5c720242e4
commit 0f8a1a3ff8
4 changed files with 8 additions and 10 deletions

3
.gitmodules vendored
View file

@ -15,3 +15,6 @@
path = lib/WinToast
url = https://github.com/mohabouje/WinToast.git
[submodule "lib/appbase"]
path = lib/appbase
url = https://github.com/fourtf/appbase

View file

@ -17,10 +17,6 @@ TEMPLATE = app
PRECOMPILED_HEADER = src/PrecompiledHeader.hpp
CONFIG += precompile_header
# include appbase
include(../appbase/appbase/main/main.pro)
INCLUDEPATH += ../appbase/appbase/main
useBreakpad {
LIBS += -L$$PWD/lib/qBreakpad/handler/build
include(lib/qBreakpad/qBreakpad.pri)
@ -41,6 +37,7 @@ macx {
}
# Submodules
include(lib/appbase.pri)
include(lib/humanize.pri)
include(lib/fmt.pri)
DEFINES += IRC_NAMESPACE=Communi
@ -56,12 +53,6 @@ include(lib/wintoast.pri)
# DEFINES += "USEWEBENGINE"
#}
werr {
QMAKE_CXXFLAGS += -Werror
message("Enabling error on warning")
}
SOURCES += \
src/Application.cpp \
src/common/Channel.cpp \

1
lib/appbase Submodule

@ -0,0 +1 @@
Subproject commit 1c565b77208b2b7d991014b1eb0d1c7ef6e4ce80

3
lib/appbase.pri Normal file
View file

@ -0,0 +1,3 @@
# include appbase
include($$PWD/appbase/appbase/main/main.pro)
INCLUDEPATH += $$PWD/appbase/appbase/main