diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d0fd9c..39d297a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ project(QmlNotyfyService LANGUAGES CXX) include(CMake/ProjectOut.cmake) include(CMake/ccache.cmake) include(CMake/Version.cmake) +include(CMake/QuasarAppCITargets.cmake) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/QmlNotify.pri b/QmlNotify.pri deleted file mode 100644 index aff355e..0000000 --- a/QmlNotify.pri +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright (C) 2018 - 2019 QuasarApp. -# Distributed under the lgplv3 software license, see the accompanying -# Everyone is permitted to copy and distribute verbatim copies -# of this license document, but changing it is not allowed. -# - -!isEmpty(QMLNOTYFYSERICE_LIB):error("QmlNotify.pri already included") -QMLNOTYFYSERICE_LIB = 1 - -#DEPENDS -CONFIG(release, debug|release): { - QMLNOTYFYSERICE_LIB_OUTPUT_DIR="$$PWD/build/release" -} else { - QMLNOTYFYSERICE_LIB_OUTPUT_DIR="$$PWD/build/debug" -} - -LIBS += -L$$QMLNOTYFYSERICE_LIB_OUTPUT_DIR -lQmlNotyfyService - -INCLUDEPATH += "$$PWD/" - - - -QML2_IMPORT_PATH += \ - "$$PWD/" \ - "$$PWD/" - -QML_IMPORT_PATH += \ - "$$PWD/" \ - "$$PWD/" diff --git a/QmlNotify.pro b/QmlNotify.pro deleted file mode 100644 index 62c458d..0000000 --- a/QmlNotify.pro +++ /dev/null @@ -1,46 +0,0 @@ -# -# Copyright (C) 2018 - 2019 QuasarApp. -# Distributed under the lgplv3 software license, see the accompanying -# Everyone is permitted to copy and distribute verbatim copies -# of this license document, but changing it is not allowed. -# - - -CONFIG += c++14 -TARGET = QmlNotyfyService -TEMPLATE = lib -QT += quick - -DEFINES += QMLNOTYFYSERICE_LIBRARY - -# The following define makes your compiler emit warnings if you use -# any feature of Qt which has been marked as 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 you use 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 - -CONFIG(release, debug|release): { - DESTDIR = $$PWD/build/release - -} else { - DESTDIR = $$PWD/build/debug -} - -RESOURCES += \ - QML.qrc - -HEADERS += \ - notificationdata.h \ - notificationservice.h \ - notifyservice_global.h \ - qmlnotifyservice.h - -SOURCES += \ - notificationdata.cpp \ - notificationservice.cpp \ - qmlnotifyservice.cpp diff --git a/plug.pro b/plug.pro new file mode 100644 index 0000000..be04603 --- /dev/null +++ b/plug.pro @@ -0,0 +1,5 @@ + +TEMPLATE = subdirs + +QMAKE_EXTRA_TARGETS += \ + test