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.1 KiB
47 lines
1.1 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 += \
|
|
settingstranslator.h \
|
|
cppsettingsgenerator.h \
|
|
settingsgeneratorimpl.h \
|
|
qmlsettingsgenerator.h
|
|
|
|
SOURCES += \
|
|
main.cpp \
|
|
settingstranslator.cpp \
|
|
cppsettingsgenerator.cpp \
|
|
settingsgeneratorimpl.cpp \
|
|
qmlsettingsgenerator.cpp
|
|
|
|
XML_SCHEMA_DEFINITIONS += \
|
|
qsettingsgenerator.xsd
|
|
|
|
include(../../src/settingsconfig/settingsconfig.pri)
|
|
|
|
contains(QT, xmlpatterns):RESOURCES += qsettingsgenerator.qrc
|
|
|
|
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}.
|
|
}
|
|
|
|
!load(qdep):error("Failed to load qdep feature! Run 'qdep prfgen --qmake $$QMAKE_QMAKE' to create it.")
|
|
|