aboutsummaryrefslogtreecommitdiff
path: root/libqmatrixclient.pri
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-31 14:55:41 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-31 19:54:59 +0900
commit6a61d3a127db1e253821bfb2ebb7f433bd534c4a (patch)
treec520a3149f3e44f311c73fd3adefcbe7aa7b807a /libqmatrixclient.pri
parent9222abb1ae7e40cdf1d1eb62f6d38d2168f1c133 (diff)
downloadlibquotient-6a61d3a127db1e253821bfb2ebb7f433bd534c4a.tar.gz
libquotient-6a61d3a127db1e253821bfb2ebb7f433bd534c4a.zip
Make and install CMake config package; provide examples/CMakeLists.txt using it
Diffstat (limited to 'libqmatrixclient.pri')
-rw-r--r--libqmatrixclient.pri131
1 files changed, 66 insertions, 65 deletions
diff --git a/libqmatrixclient.pri b/libqmatrixclient.pri
index 646af4b1..edba623e 100644
--- a/libqmatrixclient.pri
+++ b/libqmatrixclient.pri
@@ -7,72 +7,73 @@ win32-msvc* {
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
}
-INCLUDEPATH += $$PWD/lib
+SRCPATH = $$PWD/lib
+INCLUDEPATH += $$SRCPATH
HEADERS += \
- $$PWD/lib/connectiondata.h \
- $$PWD/lib/connection.h \
- $$PWD/lib/room.h \
- $$PWD/lib/user.h \
- $$PWD/lib/avatar.h \
- $$PWD/lib/util.h \
- $$PWD/lib/events/event.h \
- $$PWD/lib/events/eventcontent.h \
- $$PWD/lib/events/roommessageevent.h \
- $$PWD/lib/events/simplestateevents.h \
- $$PWD/lib/events/roommemberevent.h \
- $$PWD/lib/events/roomavatarevent.h \
- $$PWD/lib/events/typingevent.h \
- $$PWD/lib/events/receiptevent.h \
- $$PWD/lib/events/accountdataevents.h \
- $$PWD/lib/events/directchatevent.h \
- $$PWD/lib/events/redactionevent.h \
- $$PWD/lib/jobs/requestdata.h \
- $$PWD/lib/jobs/basejob.h \
- $$PWD/lib/jobs/checkauthmethods.h \
- $$PWD/lib/jobs/passwordlogin.h \
- $$PWD/lib/jobs/sendeventjob.h \
- $$PWD/lib/jobs/postreceiptjob.h \
- $$PWD/lib/jobs/joinroomjob.h \
- $$PWD/lib/jobs/roommessagesjob.h \
- $$PWD/lib/jobs/syncjob.h \
- $$PWD/lib/jobs/mediathumbnailjob.h \
- $$PWD/lib/jobs/setroomstatejob.h \
- $$PWD/lib/jobs/downloadfilejob.h \
- $$PWD/lib/jobs/postreadmarkersjob.h \
- $$files($$PWD/lib/jobs/generated/*.h, false) \
- $$PWD/lib/logging.h \
- $$PWD/lib/settings.h \
- $$PWD/lib/networksettings.h \
- $$PWD/lib/networkaccessmanager.h
+ $$SRCPATH/connectiondata.h \
+ $$SRCPATH/connection.h \
+ $$SRCPATH/room.h \
+ $$SRCPATH/user.h \
+ $$SRCPATH/avatar.h \
+ $$SRCPATH/util.h \
+ $$SRCPATH/events/event.h \
+ $$SRCPATH/events/eventcontent.h \
+ $$SRCPATH/events/roommessageevent.h \
+ $$SRCPATH/events/simplestateevents.h \
+ $$SRCPATH/events/roommemberevent.h \
+ $$SRCPATH/events/roomavatarevent.h \
+ $$SRCPATH/events/typingevent.h \
+ $$SRCPATH/events/receiptevent.h \
+ $$SRCPATH/events/accountdataevents.h \
+ $$SRCPATH/events/directchatevent.h \
+ $$SRCPATH/events/redactionevent.h \
+ $$SRCPATH/jobs/requestdata.h \
+ $$SRCPATH/jobs/basejob.h \
+ $$SRCPATH/jobs/checkauthmethods.h \
+ $$SRCPATH/jobs/passwordlogin.h \
+ $$SRCPATH/jobs/sendeventjob.h \
+ $$SRCPATH/jobs/postreceiptjob.h \
+ $$SRCPATH/jobs/joinroomjob.h \
+ $$SRCPATH/jobs/roommessagesjob.h \
+ $$SRCPATH/jobs/syncjob.h \
+ $$SRCPATH/jobs/mediathumbnailjob.h \
+ $$SRCPATH/jobs/setroomstatejob.h \
+ $$SRCPATH/jobs/downloadfilejob.h \
+ $$SRCPATH/jobs/postreadmarkersjob.h \
+ $$files($$SRCPATH/jobs/generated/*.h, false) \
+ $$SRCPATH/logging.h \
+ $$SRCPATH/settings.h \
+ $$SRCPATH/networksettings.h \
+ $$SRCPATH/networkaccessmanager.h
SOURCES += \
- $$PWD/lib/connectiondata.cpp \
- $$PWD/lib/connection.cpp \
- $$PWD/lib/room.cpp \
- $$PWD/lib/user.cpp \
- $$PWD/lib/avatar.cpp \
- $$PWD/lib/events/event.cpp \
- $$PWD/lib/events/eventcontent.cpp \
- $$PWD/lib/events/roommessageevent.cpp \
- $$PWD/lib/events/roommemberevent.cpp \
- $$PWD/lib/events/typingevent.cpp \
- $$PWD/lib/events/receiptevent.cpp \
- $$PWD/lib/events/directchatevent.cpp \
- $$PWD/lib/jobs/requestdata.cpp \
- $$PWD/lib/jobs/basejob.cpp \
- $$PWD/lib/jobs/checkauthmethods.cpp \
- $$PWD/lib/jobs/passwordlogin.cpp \
- $$PWD/lib/jobs/sendeventjob.cpp \
- $$PWD/lib/jobs/postreceiptjob.cpp \
- $$PWD/lib/jobs/joinroomjob.cpp \
- $$PWD/lib/jobs/roommessagesjob.cpp \
- $$PWD/lib/jobs/syncjob.cpp \
- $$PWD/lib/jobs/mediathumbnailjob.cpp \
- $$PWD/lib/jobs/setroomstatejob.cpp \
- $$PWD/lib/jobs/downloadfilejob.cpp \
- $$files($$PWD/lib/jobs/generated/*.cpp, false) \
- $$PWD/lib/logging.cpp \
- $$PWD/lib/settings.cpp \
- $$PWD/lib/networksettings.cpp \
- $$PWD/lib/networkaccessmanager.cpp
+ $$SRCPATH/connectiondata.cpp \
+ $$SRCPATH/connection.cpp \
+ $$SRCPATH/room.cpp \
+ $$SRCPATH/user.cpp \
+ $$SRCPATH/avatar.cpp \
+ $$SRCPATH/events/event.cpp \
+ $$SRCPATH/events/eventcontent.cpp \
+ $$SRCPATH/events/roommessageevent.cpp \
+ $$SRCPATH/events/roommemberevent.cpp \
+ $$SRCPATH/events/typingevent.cpp \
+ $$SRCPATH/events/receiptevent.cpp \
+ $$SRCPATH/events/directchatevent.cpp \
+ $$SRCPATH/jobs/requestdata.cpp \
+ $$SRCPATH/jobs/basejob.cpp \
+ $$SRCPATH/jobs/checkauthmethods.cpp \
+ $$SRCPATH/jobs/passwordlogin.cpp \
+ $$SRCPATH/jobs/sendeventjob.cpp \
+ $$SRCPATH/jobs/postreceiptjob.cpp \
+ $$SRCPATH/jobs/joinroomjob.cpp \
+ $$SRCPATH/jobs/roommessagesjob.cpp \
+ $$SRCPATH/jobs/syncjob.cpp \
+ $$SRCPATH/jobs/mediathumbnailjob.cpp \
+ $$SRCPATH/jobs/setroomstatejob.cpp \
+ $$SRCPATH/jobs/downloadfilejob.cpp \
+ $$files($$SRCPATH/jobs/generated/*.cpp, false) \
+ $$SRCPATH/logging.cpp \
+ $$SRCPATH/settings.cpp \
+ $$SRCPATH/networksettings.cpp \
+ $$SRCPATH/networkaccessmanager.cpp