Migration of QtMvvm from github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

47 lines
1.2 KiB

option(host_build)
QT = core
!force_bootstrap:qtHaveModule(xmlpatterns): QT += xmlpatterns
TARGET = qsettingsgenerator
VERSION = $$MODULE_VERSION
COMPANY = Skycoder42
BUNDLE_PREFIX = de.skycoder42
DEFINES += BUILD_QSETTINGSGENERATOR
DEFINES += "TARGET=\\\"$$TARGET\\\""
DEFINES += "VERSION=\\\"$$VERSION\\\""
DEFINES += "COMPANY=\\\"$$COMPANY\\\""
DEFINES += "BUNDLE_PREFIX=\\\"$$BUNDLE_PREFIX\\\""
HEADERS += \
settingsgenerator.h \
settingstranslator.h \
settingsconfigimpl.h
SOURCES += \
main.cpp \
settingsgenerator.cpp \
settingstranslator.cpp \
settingsconfigimpl.cpp
XML_SCHEMA_DEFINITIONS += \
qsettingsgenerator.xsd \
settingsconfig.xsd
contains(QT, xmlpatterns):RESOURCES += qsettingsgenerator.qrc
include(../3rdparty/3rdparty.pri)
load(qt_tool)
win32 {
QMAKE_TARGET_PRODUCT = "Qt Settings Builder"
QMAKE_TARGET_COMPANY = $$COMPANY
QMAKE_TARGET_COPYRIGHT = "Felix Barz"
} else:mac {
QMAKE_TARGET_BUNDLE_PREFIX = $${BUNDLE_PREFIX}.
}
!ReleaseBuild:!DebugBuild:!system(qpmx -d $$shell_quote($$_PRO_FILE_PWD_) --qmake-run init $$QPMX_EXTRA_OPTIONS $$shell_quote($$QMAKE_QMAKE) $$shell_quote($$OUT_PWD)): error(qpmx initialization failed. Check the compilation log for details.)
else: include($$OUT_PWD/qpmx_generated.pri)