gta5view/gta5sync.pro

143 lines
3.8 KiB
Prolog
Raw Normal View History

2016-02-26 22:22:34 +01:00
#/*****************************************************************************
#* gta5sync GRAND THEFT AUTO V SYNC
#* Copyright (C) 2015-2016 Syping
2016-02-26 22:22:34 +01:00
#*
2016-03-21 07:54:14 +01:00
#* This program is free software: you can redistribute it and/or modify
#* it under the terms of the GNU General Public License as published by
#* the Free Software Foundation, either version 3 of the License, or
#* (at your option) any later version.
2016-02-26 22:22:34 +01:00
#*
2016-03-21 07:54:14 +01:00
#* This program is distributed in the hope that it will be useful,
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#* GNU General Public License for more details.
2016-02-26 22:22:34 +01:00
#*
2016-03-21 07:54:14 +01:00
#* You should have received a copy of the GNU General Public License
#* along with this program. If not, see <http://www.gnu.org/licenses/>.
2016-02-26 22:22:34 +01:00
#*****************************************************************************/
2016-03-22 05:20:42 +01:00
QT += core gui network
2016-02-26 22:22:34 +01:00
2016-03-21 23:18:10 +01:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
2016-02-26 22:22:34 +01:00
TARGET = gta5sync
TEMPLATE = app
2016-03-23 09:10:46 +01:00
SOURCES += main.cpp \
2016-03-28 13:22:40 +02:00
AboutDialog.cpp \
CrewDatabase.cpp \
DatabaseThread.cpp \
2016-04-03 12:27:40 +02:00
ExportThread.cpp \
IconLoader.cpp \
2016-04-04 23:54:17 +02:00
OptionsDialog.cpp \
PictureCopy.cpp \
2016-03-22 05:20:42 +01:00
PictureDialog.cpp \
PictureExport.cpp \
2016-03-22 05:20:42 +01:00
ProfileDatabase.cpp \
2016-03-28 13:22:40 +02:00
ProfileInterface.cpp \
ProfileLoader.cpp \
2016-04-03 01:18:48 +02:00
ProfileWidget.cpp \
SavegameCopy.cpp \
2016-03-23 02:08:16 +01:00
SavegameData.cpp \
SavegameDialog.cpp \
SavegameWidget.cpp \
SidebarGenerator.cpp \
2016-03-28 13:22:40 +02:00
SnapmaticPicture.cpp \
SnapmaticWidget.cpp \
StandardPaths.cpp \
2016-03-31 23:41:53 +02:00
StringParser.cpp \
UserInterface.cpp \
uimod/UiModLabel.cpp
2016-02-26 22:22:34 +01:00
2016-03-20 21:57:18 +01:00
HEADERS += \
2016-03-28 13:22:40 +02:00
AboutDialog.h \
CrewDatabase.h \
DatabaseThread.h \
2016-04-03 12:27:40 +02:00
ExportThread.h \
IconLoader.h \
2016-04-04 23:54:17 +02:00
OptionsDialog.h \
PictureCopy.h \
2016-03-22 05:20:42 +01:00
PictureDialog.h \
PictureExport.h \
2016-03-22 05:20:42 +01:00
ProfileDatabase.h \
2016-03-28 13:22:40 +02:00
ProfileInterface.h \
ProfileLoader.h \
2016-04-03 01:18:48 +02:00
ProfileWidget.h \
SavegameCopy.h \
2016-03-23 02:08:16 +01:00
SavegameData.h \
SavegameDialog.h \
SavegameWidget.h \
SidebarGenerator.h \
2016-03-28 13:22:40 +02:00
SnapmaticPicture.h \
SnapmaticWidget.h \
StandardPaths.h \
2016-03-31 23:41:53 +02:00
StringParser.h \
UserInterface.h \
uimod/UiModLabel.h
2016-02-26 22:22:34 +01:00
2016-03-20 21:57:18 +01:00
FORMS += \
2016-03-28 13:22:40 +02:00
AboutDialog.ui \
2016-04-04 23:54:17 +02:00
OptionsDialog.ui \
2016-03-23 02:08:16 +01:00
PictureDialog.ui \
2016-03-25 07:07:58 +01:00
ProfileInterface.ui \
2016-03-28 13:22:40 +02:00
SavegameDialog.ui \
SavegameWidget.ui \
2016-03-28 13:22:40 +02:00
SnapmaticWidget.ui \
UserInterface.ui
2016-02-27 01:06:24 +01:00
2016-03-23 08:53:37 +01:00
TRANSLATIONS += \
res/gta5sync_de.ts \
lang/gta5sync_ru.ts
2016-03-23 08:53:37 +01:00
2016-03-23 09:10:46 +01:00
RESOURCES += \
2016-03-29 14:29:15 +02:00
res/app.qrc
2016-03-20 21:57:18 +01:00
DISTFILES += res/app.rc \
res/gta5sync.desktop \
res/gta5sync_de.ts \
2016-04-01 03:53:46 +02:00
lang/gta5sync_ru.qm \
lang/qtbase_ru.qm \
lang/README.txt \
lang/gta5sync_ru.ts \
2016-04-01 17:39:36 +02:00
lang/qt_ru.qm
2016-04-01 03:53:46 +02:00
INCLUDEPATH += ./uimod
2016-04-08 14:36:49 +02:00
# WINDOWS ONLY
win32: DEFINES += GTA5SYNC_WIN
2016-03-29 15:24:55 +02:00
win32: RC_FILE += res/app.rc
2016-04-08 14:36:49 +02:00
win32: LIBS += -luser32
2016-03-21 07:54:14 +01:00
# QT4 ONLY STUFF
isEqual(QT_MAJOR_VERSION, 4): INCLUDEPATH += ./qjson4
isEqual(QT_MAJOR_VERSION, 4): HEADERS += qjson4/QJsonArray.h \
qjson4/QJsonDocument.h \
qjson4/QJsonObject.h \
qjson4/QJsonParseError.h \
qjson4/QJsonValue.h \
qjson4/QJsonValueRef.h \
qjson4/QJsonParser.h \
qjson4/QJsonRoot.h
isEqual(QT_MAJOR_VERSION, 4): SOURCES += qjson4/QJsonArray.cpp \
qjson4/QJsonDocument.cpp \
qjson4/QJsonObject.cpp \
qjson4/QJsonParseError.cpp \
qjson4/QJsonValue.cpp \
qjson4/QJsonValueRef.cpp \
qjson4/QJsonParser.cpp
2016-03-28 12:54:08 +02:00
2016-03-29 14:29:15 +02:00
# UNIX SYSTEM STUFF
unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications
unix: !macx: appfiles.files = $$PWD/res/gta5sync.desktop
2016-03-29 18:52:25 +02:00
unix: !macx: pixmaps.path = $$(INSTALL_PATH)/share/pixmaps
unix: !macx: pixmaps.files = $$PWD/res/gta5sync.xpm
2016-03-29 14:29:15 +02:00
unix: !macx: target.path = $$(INSTALL_PATH)/bin
2016-03-30 22:57:06 +02:00
unix: !macx: INSTALLS += target pixmaps appfiles
2016-03-29 15:46:21 +02:00
# STATIC BUILD STUFF
static: isEqual(QT_MAJOR_VERSION, 4): QTPLUGIN += qjpcodecs