123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- #
- # This file is part of JQLibrary
- #
- # Copyright: Jason
- #
- # Contact email: 188080501@qq.com
- #
- # GNU Lesser General Public License Usage
- # Alternatively, this file may be used under the terms of the GNU Lesser
- # General Public License version 2.1 or version 3 as published by the Free
- # Software Foundation and appearing in the file LICENSE.LGPLv21 and
- # LICENSE.LGPLv3 included in the packaging of this file. Please review the
- # following information to ensure the GNU Lesser General Public License
- # requirements will be met: https://www.gnu.org/licenses/lgpl.html and
- # http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
- #
- QT *= core gui
- CONFIG *= c++11
- INCLUDEPATH *= \
- $$PWD/include/
- exists( $$PWD/src/JQBarcode.cpp ) {
- SOURCES *= $$PWD/src/JQBarcode.cpp
- HEADERS *= $$PWD/include/JQBarcode.h
- }
- contains( QT, bluetooth ) {
- exists( $$PWD/src/JQBluetooth.cpp ) {
- SOURCES *= $$PWD/src/JQBluetooth.cpp
- HEADERS *= $$PWD/include/JQBluetooth.h
- }
- mac | ios {
- DEFINES += JQBLUETOOTH_UUIDMODE
- }
- }
- exists( $$PWD/src/JQChecksum.cpp ) {
- SOURCES *= $$PWD/src/JQChecksum.cpp
- HEADERS *= $$PWD/include/JQChecksum.h
- }
- exists( $$PWD/src/JQExcel.cpp ) {
- SOURCES *= $$PWD/src/JQExcel.cpp
- HEADERS *= $$PWD/include/JQExcel.h
- }
- exists( $$PWD/src/JQFile.cpp ) {
- SOURCES *= $$PWD/src/JQFile.cpp
- HEADERS *= $$PWD/include/JQFile.h
- }
- unix | linux | mingw {
- exists( $$PWD/src/JQFilePack.cpp ) {
- SOURCES *= $$PWD/src/JQFilePack.cpp
- HEADERS *= $$PWD/include/JQFilePack.h
- }
- }
- exists( $$PWD/src/JQFoundation.cpp ) {
- DEFINES += JQFOUNDATION_LIB
- SOURCES *= $$PWD/src/JQFoundation.cpp
- HEADERS *= $$PWD/include/JQFoundation.h
- HEADERS *= $$PWD/include/jqdeclare.hpp
- }
- exists( $$PWD/src/jqgpio.cpp ) {
- SOURCES *= $$PWD/src/jqgpio.cpp
- HEADERS *= $$PWD/include/jqgpio.h
- }
- contains( QT, network ) {
- contains( QT, concurrent ) {
- exists( $$PWD/src/JQHttpServer.cpp ) {
- SOURCES *= $$PWD/src/JQHttpServer.cpp
- HEADERS *= $$PWD/include/JQHttpServer.h
- }
- }
- }
- ios {
- exists( $$PWD/src/JQiOS.cpp ) {
- LIBS *= -framework Foundation -framework UIKit
- OBJECTIVE_SOURCES *= $$PWD/src/JQiOS.mm
- HEADERS *= $$PWD/include/JQiOS.h
- }
- }
- exists( $$PWD/src/JQLanguage.cpp ) {
- SOURCES *= $$PWD/src/JQLanguage.cpp
- HEADERS *= $$PWD/include/JQLanguage.h
- }
- exists( $$PWD/src/JQNet.cpp ) {
- SOURCES *= $$PWD/src/JQNet.cpp
- HEADERS *= $$PWD/include/JQNet.h
- }
- exists( $$PWD/src/JQPropertyAnimation.cpp ) {
- SOURCES *= $$PWD/src/JQPropertyAnimation.cpp
- HEADERS *= $$PWD/include/JQPropertyAnimation.h
- }
- contains( QT, serialport ) {
- exists( $$PWD/src/JQSerialPort.cpp ) {
- SOURCES *= $$PWD/src/JQSerialPort.cpp
- HEADERS *= $$PWD/include/JQSerialPort.h
- }
- }
- exists( $$PWD/src/JQSettings.cpp ) {
- SOURCES *= $$PWD/src/JQSettings.cpp
- HEADERS *= $$PWD/include/JQSettings.h
- }
- exists( $$PWD/src/JQSms.cpp ) {
- SOURCES *= $$PWD/src/JQSms.cpp
- HEADERS *= $$PWD/include/JQSms.h
- }
- contains( QT, network ) {
- exists( $$PWD/src/JQSystemFlag.cpp ) {
- SOURCES *= $$PWD/src/JQSystemFlag.cpp
- HEADERS *= $$PWD/include/JQSystemFlag.h
- }
- }
- exists( $$PWD/src/jqthread.cpp ) {
- SOURCES *= $$PWD/src/jqthread.cpp
- HEADERS *= $$PWD/include/jqthread.h
- }
- contains( QT, multimedia | concurrent ) {
- exists( $$PWD/src/JQVop.cpp ) {
- SOURCES *= $$PWD/src/JQVop.cpp
- HEADERS *= $$PWD/include/JQVop.h
- }
- }
- exists( $$PWD/src/JQWeather.cpp ) {
- SOURCES *= $$PWD/src/JQWeather.cpp
- HEADERS *= $$PWD/include/JQWeather.h
- }
- contains( QT, webenginewidgets ) {
- exists( $$PWD/src/JQWebEngine.cpp ) {
- SOURCES *= $$PWD/src/JQWebEngine.cpp
- HEADERS *= $$PWD/include/JQWebEngine.h
- }
- }
|