Made libcommuni show as 'libcommuni' in Qt Creator instead of 'src'

This commit is contained in:
Matija 2017-09-30 00:16:14 +02:00
parent 369b7c052b
commit 00f5830d0e
2 changed files with 6 additions and 3 deletions

View file

@ -9,9 +9,6 @@ CONFIG += communi
COMMUNI += core model util COMMUNI += core model util
CONFIG += c++14 CONFIG += c++14
DEFINES += IRC_NAMESPACE=Communi
include(lib/libcommuni/src/src.pri)
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
# Include ourself # Include ourself
@ -220,3 +217,6 @@ include(dependencies/settings.pri)
include(dependencies/signals.pri) include(dependencies/signals.pri)
include(dependencies/humanize.pri) include(dependencies/humanize.pri)
include(dependencies/fmt.pri) include(dependencies/fmt.pri)
DEFINES += IRC_NAMESPACE=Communi
include(dependencies/libcommuni.pri)

3
dependencies/libcommuni.pri vendored Normal file
View file

@ -0,0 +1,3 @@
include(../lib/libcommuni/src/core/core.pri)
include(../lib/libcommuni/src/model/model.pri)
include(../lib/libcommuni/src/util/util.pri)