MinetestMapperGUI/MinetestMapperGui.pro

78 lines
1.7 KiB
Prolog
Raw Normal View History

2015-05-13 07:49:49 -07:00
#-------------------------------------------------
#
# Project created by QtCreator 2015-03-03T02:49:12
#
#-------------------------------------------------
QT += core gui
win32:QT += winextras
2015-05-13 07:49:49 -07:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = MinetestMapperGui
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
colorlineedit.cpp \
2016-12-14 01:00:35 -08:00
geometry.cpp \
2015-10-14 08:58:37 -07:00
geometrywidget.cpp \
configdialog.cpp \
colorstxtassistant.cpp \
2016-12-14 01:00:35 -08:00
makecolors.cpp \
drawmapfigure.cpp \
drawmapfiguretablemodel.cpp \
figuredelegate.cpp
2015-05-13 07:49:49 -07:00
HEADERS += mainwindow.h \
colorlineedit.h \
2016-12-14 01:00:35 -08:00
geometry.h \
2015-10-14 08:58:37 -07:00
geometrywidget.h \
configdialog.h \
colorstxtassistant.h \
2016-12-14 01:00:35 -08:00
makecolors.h \
drawmapfigure.h \
drawmapfiguretablemodel.h \
figuredelegate.h
2015-05-13 07:49:49 -07:00
FORMS += mainwindow.ui \
2015-10-14 08:58:37 -07:00
geometrywidget.ui \
configdialog.ui \
colorstxtassistant.ui
2015-05-13 07:49:49 -07:00
RESOURCES += \
minetestmappergui.qrc
TRANSLATIONS = languages/gui_de.ts\
languages/gui_en.ts
2015-07-19 23:44:41 -07:00
GIT_VERSION = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
#something like 0.4.2-55-g123c456
isEmpty(GIT_VERSION) {
GIT_VERSION = 0.5.0
}
# Turns describe output like 0.4.2-55-g652c397 into "0.4.2.55.123c456"
GIT_VERSION ~= s/-/"."
GIT_VERSION ~= s/g/""
2015-07-19 23:44:41 -07:00
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
VERSION = $$GIT_VERSION
win32 {
VERSION ~= s/\.[a-f0-9]{6,}//
#something like 0.4.2.55
}
RC_ICONS = images/icon.ico
2015-07-19 23:44:41 -07:00
RC_LANG = 0x04b0
QMAKE_TARGET_PRODUCT = "Minetest Mappger GUI"
QMAKE_TARGET_DESCRIPTION = "Graphical user interface for MinetestMapper"
QMAKE_TARGET_COPYRIGHT = "2015 addi; CC BY"
#add support for windows XP
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01