2020-04-01 13:06:56 +02:00
|
|
|
QT -= gui
|
2020-05-24 15:03:39 +02:00
|
|
|
QT += network multimedia quick
|
|
|
|
|
|
|
|
CONFIG(contains(QMAKE_LFLAGS_CONSOLE)){
|
|
|
|
message("this is console")
|
|
|
|
}
|
2020-04-01 13:06:56 +02:00
|
|
|
|
|
|
|
TEMPLATE = lib
|
2020-04-05 14:11:52 +02:00
|
|
|
DEFINES += SCSTWLIBRARIES_LIBRARY
|
2020-04-01 13:06:56 +02:00
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
2020-04-11 23:41:34 +02:00
|
|
|
sources/ScStw.cpp \
|
|
|
|
sources/scstwclient.cpp \
|
2020-05-24 15:03:39 +02:00
|
|
|
sources/scstwlibraries.cpp \
|
2020-04-11 23:41:34 +02:00
|
|
|
sources/scstwrace.cpp \
|
2020-04-18 14:25:48 +02:00
|
|
|
sources/scstwremotemonitorrace.cpp \
|
2020-04-11 23:41:34 +02:00
|
|
|
sources/scstwsoundplayer.cpp \
|
|
|
|
sources/scstwtimer.cpp
|
2020-04-01 13:06:56 +02:00
|
|
|
|
|
|
|
HEADERS += \
|
2020-04-11 23:41:34 +02:00
|
|
|
headers/ScStw.hpp \
|
|
|
|
headers/ScStwLibraries_global.h \
|
2020-05-24 15:03:39 +02:00
|
|
|
headers/scstwlibraries.h \
|
2020-04-11 23:41:34 +02:00
|
|
|
headers/scstwrace.h \
|
|
|
|
headers/scstwclient.h \
|
2020-04-18 14:25:48 +02:00
|
|
|
headers/scstwremotemonitorrace.h \
|
2020-04-11 23:41:34 +02:00
|
|
|
headers/scstwsoundplayer.h \
|
|
|
|
headers/scstwtimer.h
|
2020-04-01 13:06:56 +02:00
|
|
|
|
2020-04-07 16:32:35 +02:00
|
|
|
RESOURCES += \
|
2020-04-11 23:41:34 +02:00
|
|
|
resources/ScStwLibrariesShared.qrc
|
2020-04-07 16:32:35 +02:00
|
|
|
|
|
|
|
DISTFILES +=
|
|
|
|
|
2020-04-05 14:11:52 +02:00
|
|
|
#DEPENDS
|
|
|
|
CONFIG(release, debug|release): {
|
|
|
|
DESTDIR="$$PWD/build/release"
|
|
|
|
} else {
|
|
|
|
DESTDIR="$$PWD/build/debug"
|
|
|
|
}
|
|
|
|
|
2020-04-01 13:06:56 +02:00
|
|
|
# Default rules for deployment.
|
2020-06-07 13:39:24 +02:00
|
|
|
target.path = /usr/local/lib
|
2020-04-01 13:06:56 +02:00
|
|
|
!isEmpty(target.path): INSTALLS += target
|