valentina/Valentina.pro

288 lines
9.6 KiB
Prolog
Raw Normal View History

2013-06-20 16:09:50 +02:00
#-------------------------------------------------
#
# Project created by QtCreator 2013-06-18T12:36:43
#
#-------------------------------------------------
# Use out-of-source builds (shadow builds)
QT += core gui widgets xml svg
2013-06-20 16:09:50 +02:00
TARGET = Valentina
TEMPLATE = app
CONFIG -= debug_and_release debug_and_release_target
CONFIG += c++11 precompile_header
QMAKE_CXX = ccache g++
2013-06-20 16:09:50 +02:00
SOURCES += main.cpp\
2013-07-03 14:29:26 +02:00
mainwindow.cpp \
2013-07-13 12:51:31 +02:00
dialogs/dialogsinglepoint.cpp \
widgets/vgraphicssimpletextitem.cpp \
xml/vdomdocument.cpp \
container/vpointf.cpp \
2013-07-17 13:38:11 +02:00
container/vcontainer.cpp \
tools/drawTools/vtoolpoint.cpp \
2013-07-17 13:38:11 +02:00
container/calculator.cpp \
dialogs/dialogincrements.cpp \
container/vstandarttablecell.cpp \
2013-07-17 20:35:08 +02:00
container/vincrementtablerow.cpp \
2013-07-25 14:00:51 +02:00
widgets/doubledelegate.cpp \
dialogs/dialogendline.cpp \
tools/drawTools/vtoolendline.cpp \
tools/drawTools/vtoolline.cpp \
2013-07-25 20:39:51 +02:00
tools/vabstracttool.cpp \
2013-07-28 00:18:06 +02:00
dialogs/dialogline.cpp \
tools/drawTools/vtoolalongline.cpp \
2013-07-28 00:18:06 +02:00
dialogs/dialogtool.cpp \
2013-07-29 14:55:40 +02:00
dialogs/dialogalongline.cpp \
tools/drawTools/vtoolshoulderpoint.cpp \
2013-07-30 15:09:34 +02:00
dialogs/dialogshoulderpoint.cpp \
tools/drawTools/vtoolnormal.cpp \
2013-07-30 20:46:40 +02:00
dialogs/dialognormal.cpp \
tools/drawTools/vtoolbisector.cpp \
2013-07-31 13:34:39 +02:00
dialogs/dialogbisector.cpp \
tools/drawTools/vtoollinepoint.cpp \
tools/drawTools/vtoollineintersect.cpp \
2013-08-05 10:37:56 +02:00
dialogs/dialoglineintersect.cpp \
geometry/vspline.cpp \
tools/drawTools/vtoolsinglepoint.cpp \
2013-08-05 10:37:56 +02:00
geometry/varc.cpp \
widgets/vcontrolpointspline.cpp \
tools/drawTools/vtoolspline.cpp \
2013-08-06 09:56:09 +02:00
dialogs/dialogspline.cpp \
tools/drawTools/vtoolarc.cpp \
2013-08-09 08:49:34 +02:00
dialogs/dialogarc.cpp \
geometry/vsplinepoint.cpp \
geometry/vsplinepath.cpp \
tools/drawTools/vtoolsplinepath.cpp \
dialogs/dialogsplinepath.cpp \
widgets/vmaingraphicsscene.cpp \
widgets/vmaingraphicsview.cpp \
2013-08-15 22:39:00 +02:00
tools/vdatatool.cpp \
xml/vtoolrecord.cpp \
2013-08-21 10:03:53 +02:00
dialogs/dialoghistory.cpp \
tools/drawTools/vtoolpointofcontact.cpp \
2013-08-28 10:55:11 +02:00
dialogs/dialogpointofcontact.cpp \
geometry/vnodedetail.cpp \
geometry/vdetail.cpp \
dialogs/dialogdetail.cpp \
tools/vtooldetail.cpp \
2013-08-29 12:31:50 +02:00
widgets/vtablegraphicsview.cpp \
widgets/vitem.cpp \
tablewindow.cpp \
tools/nodeDetails/vnodearc.cpp \
tools/nodeDetails/vnodepoint.cpp \
tools/nodeDetails/vnodespline.cpp \
tools/nodeDetails/vnodesplinepath.cpp \
tools/drawTools/vdrawtool.cpp \
tools/nodeDetails/vabstractnode.cpp \
tools/modelingTools/vmodelingtool.cpp \
tools/modelingTools/vmodelingalongline.cpp \
tools/modelingTools/vmodelingarc.cpp \
tools/modelingTools/vmodelingbisector.cpp \
tools/modelingTools/vmodelingendline.cpp \
tools/modelingTools/vmodelingline.cpp \
tools/modelingTools/vmodelinglineintersect.cpp \
tools/modelingTools/vmodelinglinepoint.cpp \
tools/modelingTools/vmodelingnormal.cpp \
tools/modelingTools/vmodelingpoint.cpp \
tools/modelingTools/vmodelingpointofcontact.cpp \
tools/modelingTools/vmodelingshoulderpoint.cpp \
tools/modelingTools/vmodelingspline.cpp \
tools/modelingTools/vmodelingsplinepath.cpp \
exception/vexception.cpp \
exception/vexceptionbadid.cpp \
exception/vexceptionwrongparameterid.cpp \
exception/vexceptionconversionerror.cpp \
exception/vexceptionemptyparameter.cpp \
exception/vexceptionobjecterror.cpp \
widgets/vapplication.cpp \
exception/vexceptionuniqueid.cpp \
tools/drawTools/vtoolheight.cpp \
tools/modelingTools/vmodelingheight.cpp \
dialogs/dialogheight.cpp \
tools/drawTools/vtooltriangle.cpp \
tools/modelingTools/vmodelingtriangle.cpp \
dialogs/dialogtriangle.cpp \
dialogs/dialogpointofintersection.cpp \
tools/drawTools/vtoolpointofintersection.cpp \
tools/modelingTools/vmodelingpointofintersection.cpp
2013-06-20 16:09:50 +02:00
2013-07-03 14:29:26 +02:00
HEADERS += mainwindow.h \
widgets/vmaingraphicsscene.h \
dialogs/dialogsinglepoint.h \
2013-07-13 12:51:31 +02:00
options.h \
widgets/vgraphicssimpletextitem.h \
xml/vdomdocument.h \
container/vpointf.h \
2013-07-17 13:38:11 +02:00
container/vcontainer.h \
tools/drawTools/vtoolpoint.h \
2013-07-17 13:38:11 +02:00
container/calculator.h \
dialogs/dialogincrements.h \
container/vstandarttablecell.h \
2013-07-17 20:35:08 +02:00
container/vincrementtablerow.h \
2013-07-25 14:00:51 +02:00
widgets/doubledelegate.h \
dialogs/dialogendline.h \
tools/drawTools/vtoolendline.h \
tools/drawTools/vtoolline.h \
2013-07-25 20:39:51 +02:00
tools/vabstracttool.h \
2013-07-28 00:18:06 +02:00
dialogs/dialogline.h \
tools/drawTools/vtoolalongline.h \
2013-07-28 00:18:06 +02:00
dialogs/dialogtool.h \
2013-07-29 14:55:40 +02:00
dialogs/dialogalongline.h \
tools/drawTools/vtoolshoulderpoint.h \
2013-07-30 15:09:34 +02:00
dialogs/dialogshoulderpoint.h \
tools/drawTools/vtoolnormal.h \
2013-07-30 20:46:40 +02:00
dialogs/dialognormal.h \
tools/drawTools/vtoolbisector.h \
2013-07-31 13:34:39 +02:00
dialogs/dialogbisector.h \
tools/drawTools/vtoollinepoint.h \
tools/drawTools/vtoollineintersect.h \
2013-08-05 10:37:56 +02:00
dialogs/dialoglineintersect.h \
geometry/vspline.h \
tools/drawTools/vtoolsinglepoint.h \
2013-08-05 10:37:56 +02:00
geometry/varc.h \
widgets/vcontrolpointspline.h \
tools/drawTools/vtoolspline.h \
2013-08-06 09:56:09 +02:00
dialogs/dialogspline.h \
tools/drawTools/vtoolarc.h \
2013-08-09 08:49:34 +02:00
dialogs/dialogarc.h \
geometry/vsplinepoint.h \
geometry/vsplinepath.h \
tools/drawTools/vtoolsplinepath.h \
dialogs/dialogsplinepath.h \
widgets/vmaingraphicsview.h \
2013-08-15 22:39:00 +02:00
tools/vdatatool.h \
xml/vtoolrecord.h \
2013-08-21 10:03:53 +02:00
dialogs/dialoghistory.h \
tools/drawTools/vtoolpointofcontact.h \
2013-08-28 10:55:11 +02:00
dialogs/dialogpointofcontact.h \
geometry/vnodedetail.h \
geometry/vdetail.h \
dialogs/dialogdetail.h \
tools/vtooldetail.h \
2013-08-29 12:31:50 +02:00
widgets/vtablegraphicsview.h \
widgets/vitem.h \
tablewindow.h \
tools/tools.h \
tools/drawTools/drawtools.h \
tools/nodeDetails/nodedetails.h \
tools/nodeDetails/vnodearc.h \
tools/nodeDetails/vnodepoint.h \
tools/nodeDetails/vnodespline.h \
tools/nodeDetails/vnodesplinepath.h \
stable.h \
tools/drawTools/vdrawtool.h \
tools/nodeDetails/vabstractnode.h \
dialogs/dialogs.h \
tools/modelingTools/modelingtools.h \
tools/modelingTools/vmodelingtool.h \
tools/modelingTools/vmodelingalongline.h \
tools/modelingTools/vmodelingarc.h \
tools/modelingTools/vmodelingbisector.h \
tools/modelingTools/vmodelingendline.h \
tools/modelingTools/vmodelingline.h \
tools/modelingTools/vmodelinglineintersect.h \
tools/modelingTools/vmodelinglinepoint.h \
tools/modelingTools/vmodelingnormal.h \
tools/modelingTools/vmodelingpoint.h \
tools/modelingTools/vmodelingpointofcontact.h \
tools/modelingTools/vmodelingshoulderpoint.h \
tools/modelingTools/vmodelingspline.h \
tools/modelingTools/vmodelingsplinepath.h \
exception/vexception.h \
exception/vexceptionbadid.h \
exception/vexceptionwrongparameterid.h \
exception/vexceptionconversionerror.h \
exception/vexceptionemptyparameter.h \
exception/vexceptionobjecterror.h \
widgets/vapplication.h \
exception/vexceptionuniqueid.h \
tools/drawTools/vtoolheight.h \
tools/modelingTools/vmodelingheight.h \
dialogs/dialogheight.h \
tools/drawTools/vtooltriangle.h \
tools/modelingTools/vmodelingtriangle.h \
dialogs/dialogtriangle.h \
dialogs/dialogpointofintersection.h \
tools/drawTools/vtoolpointofintersection.h \
tools/modelingTools/vmodelingpointofintersection.h
2013-06-20 16:09:50 +02:00
2013-07-03 14:29:26 +02:00
FORMS += mainwindow.ui \
2013-07-17 13:38:11 +02:00
dialogs/dialogsinglepoint.ui \
2013-07-25 14:00:51 +02:00
dialogs/dialogincrements.ui \
2013-07-25 20:39:51 +02:00
dialogs/dialogendline.ui \
2013-07-28 00:18:06 +02:00
dialogs/dialogline.ui \
2013-07-29 14:55:40 +02:00
dialogs/dialogalongline.ui \
2013-07-30 15:09:34 +02:00
dialogs/dialogshoulderpoint.ui \
2013-07-30 20:46:40 +02:00
dialogs/dialognormal.ui \
2013-07-31 13:34:39 +02:00
dialogs/dialogbisector.ui \
2013-08-05 10:37:56 +02:00
dialogs/dialoglineintersect.ui \
2013-08-06 09:56:09 +02:00
dialogs/dialogspline.ui \
2013-08-09 08:49:34 +02:00
dialogs/dialogarc.ui \
2013-08-15 22:39:00 +02:00
dialogs/dialogsplinepath.ui \
2013-08-21 10:03:53 +02:00
dialogs/dialoghistory.ui \
2013-08-28 10:55:11 +02:00
dialogs/dialogpointofcontact.ui \
2013-08-29 12:31:50 +02:00
dialogs/dialogdetail.ui \
tablewindow.ui \
dialogs/dialogheight.ui \
dialogs/dialogtriangle.ui \
dialogs/dialogpointofintersection.ui
2013-07-03 14:29:26 +02:00
RESOURCES += \
icon.qrc \
cursor.qrc
2013-07-28 00:18:06 +02:00
# directory for executable file
DESTDIR = bin
# files created moc
MOC_DIR = moc
# objecs files
OBJECTS_DIR = obj
# files created rcc
RCC_DIR = rcc
# files created uic
UI_DIR = uic
# Use Precompiled headers (PCH)
PRECOMPILED_HEADER = stable.h
TRANSLATIONS += translations/valentina_ru.ts \
translations/valentina_uk.ts
2013-07-28 00:18:06 +02:00
CONFIG(debug, debug|release){
# Debug
2013-08-20 12:26:02 +02:00
QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
-isystem "/usr/include/qt5/QtCore" -isystem "$$OUT_PWD/uic" -isystem "$$OUT_PWD/moc/" \
-Og -Wall -Wextra -pedantic -Weffc++ -Woverloaded-virtual -Wctor-dtor-privacy \
-Wnon-virtual-dtor -Wold-style-cast -Wconversion -Winit-self \
-Wunreachable-code
2013-07-28 00:18:06 +02:00
}else{
# Release
2013-09-26 19:11:56 +02:00
QMAKE_CXXFLAGS += -O1
QMAKE_EXTRA_COMPILERS += lrelease
lrelease.input = TRANSLATIONS
lrelease.output = ${QMAKE_FILE_BASE}.qm
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm "bin/"${QMAKE_FILE_BASE}.qm
lrelease.CONFIG += no_link target_predeps
2013-07-28 00:18:06 +02:00
}
message(Qt version: $$[QT_VERSION])
message(Qt is installed in $$[QT_INSTALL_PREFIX])
message(Qt resources can be found in the following locations:)
message(Documentation: $$[QT_INSTALL_DOCS])
message(Header files: $$[QT_INSTALL_HEADERS])
message(Libraries: $$[QT_INSTALL_LIBS])
message(Binary files (executables): $$[QT_INSTALL_BINS])
message(Plugins: $$[QT_INSTALL_PLUGINS])
message(Data files: $$[QT_INSTALL_DATA])
message(Translation files: $$[QT_INSTALL_TRANSLATIONS])
message(Settings: $$[QT_INSTALL_SETTINGS])
message(Examples: $$[QT_INSTALL_EXAMPLES])