2011-12-25 21:19:32 +00:00
|
|
|
TEMPLATE = app
|
2012-01-26 23:08:09 +00:00
|
|
|
CONFIG += qt
|
2012-01-28 17:24:19 +00:00
|
|
|
QT += core gui opengl
|
2011-12-25 21:19:32 +00:00
|
|
|
DEPENDPATH += .
|
|
|
|
INCLUDEPATH += .
|
2013-04-17 12:29:51 +00:00
|
|
|
DESTDIR = $$PROJECT_PATH/build/$$BUILDMODE/
|
|
|
|
OBJECTS_DIR = $$DESTDIR/editing/
|
|
|
|
MOC_DIR = $$OBJECTS_DIR/moc/
|
2012-06-02 09:46:24 +00:00
|
|
|
CONFIG -= release
|
2012-01-28 17:24:19 +00:00
|
|
|
CONFIG += $$BUILDMODE
|
2013-04-17 12:29:51 +00:00
|
|
|
INCLUDEPATH += $$PROJECT_PATH/src/
|
2011-12-25 21:19:32 +00:00
|
|
|
|
2012-06-02 09:46:24 +00:00
|
|
|
release:DEFINES += NDEBUG
|
2012-07-01 13:27:57 +00:00
|
|
|
release:QMAKE_CXXFLAGS += -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable
|
2012-06-02 09:46:24 +00:00
|
|
|
|
2012-04-27 20:05:33 +00:00
|
|
|
LIBS += -lGLU
|
2013-04-17 12:29:51 +00:00
|
|
|
unix:LIBS += -L$$DESTDIR -lpaysages_rendering -lpaysages_exploring
|
2013-04-16 14:57:14 +00:00
|
|
|
win32:LIBS += ../libpaysages.a ../libpaysages_exploring.a -lDevIL -lILU -lILUT -lglib-2.0 -lgthread-2.0
|
2011-12-25 21:19:32 +00:00
|
|
|
|
2013-04-17 12:29:51 +00:00
|
|
|
TRANSLATIONS = $$PROJECT_PATH/data/i18n/paysages_fr.ts
|
2012-02-28 13:45:11 +00:00
|
|
|
|
2012-07-01 13:27:57 +00:00
|
|
|
#system(lupdate paysages-qt.pro)
|
|
|
|
#system(lrelease $$TRANSLATIONS)
|
2013-05-05 13:37:06 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
widgetheightmap.h \
|
|
|
|
widgetexplorer.h \
|
|
|
|
widgetcurveeditor.h \
|
|
|
|
tools.h \
|
|
|
|
previewosd.h \
|
|
|
|
previewmaterial.h \
|
|
|
|
previewcolorgradation.h \
|
|
|
|
mainwindow.h \
|
|
|
|
inputnoise.h \
|
|
|
|
inputmaterial.h \
|
|
|
|
inputlayers.h \
|
|
|
|
inputint.h \
|
|
|
|
inputenum.h \
|
|
|
|
inputdouble.h \
|
|
|
|
inputcurve.h \
|
|
|
|
inputcolorgradation.h \
|
|
|
|
inputcolor.h \
|
|
|
|
inputcamera.h \
|
|
|
|
inputboolean.h \
|
|
|
|
formwater.h \
|
|
|
|
formtextures.h \
|
|
|
|
formterrain.h \
|
|
|
|
formrender.h \
|
|
|
|
formmaterial.h \
|
|
|
|
formclouds.h \
|
|
|
|
formatmosphere.h \
|
|
|
|
explorerchunkterrain.h \
|
|
|
|
explorerchunksky.h \
|
|
|
|
dialogrender.h \
|
|
|
|
dialognoise.h \
|
|
|
|
dialogmaterial.h \
|
|
|
|
dialoglayers.h \
|
|
|
|
dialogexplorer.h \
|
|
|
|
dialogcurve.h \
|
|
|
|
dialogcolorgradation.h \
|
|
|
|
basepreview.h \
|
|
|
|
baseinput.h \
|
|
|
|
baseformlayer.h \
|
|
|
|
baseform.h \
|
|
|
|
baseexplorerchunk.h \
|
|
|
|
terrain/dialogterrainpainting.h \
|
|
|
|
common/widgetglobalformbuttons.h \
|
|
|
|
terrain/paintingbrush.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
widgetheightmap.cpp \
|
|
|
|
widgetexplorer.cpp \
|
|
|
|
widgetcurveeditor.cpp \
|
|
|
|
tools.cpp \
|
|
|
|
previewosd.cpp \
|
|
|
|
previewmaterial.cpp \
|
|
|
|
previewcolorgradation.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
inputnoise.cpp \
|
|
|
|
inputmaterial.cpp \
|
|
|
|
inputlayers.cpp \
|
|
|
|
inputint.cpp \
|
|
|
|
inputenum.cpp \
|
|
|
|
inputdouble.cpp \
|
|
|
|
inputcurve.cpp \
|
|
|
|
inputcolorgradation.cpp \
|
|
|
|
inputcolor.cpp \
|
|
|
|
inputcamera.cpp \
|
|
|
|
inputboolean.cpp \
|
|
|
|
formwater.cpp \
|
|
|
|
formtextures.cpp \
|
|
|
|
formterrain.cpp \
|
|
|
|
formrender.cpp \
|
|
|
|
formmaterial.cpp \
|
|
|
|
formclouds.cpp \
|
|
|
|
formatmosphere.cpp \
|
|
|
|
explorerchunkterrain.cpp \
|
|
|
|
explorerchunksky.cpp \
|
|
|
|
dialogrender.cpp \
|
|
|
|
dialognoise.cpp \
|
|
|
|
dialogmaterial.cpp \
|
|
|
|
dialoglayers.cpp \
|
|
|
|
dialogexplorer.cpp \
|
|
|
|
dialogcurve.cpp \
|
|
|
|
dialogcolorgradation.cpp \
|
|
|
|
basepreview.cpp \
|
|
|
|
baseinput.cpp \
|
|
|
|
baseformlayer.cpp \
|
|
|
|
baseform.cpp \
|
|
|
|
baseexplorerchunk.cpp \
|
|
|
|
terrain/dialogterrainpainting.cpp \
|
|
|
|
common/widgetglobalformbuttons.cpp \
|
|
|
|
terrain/paintingbrush.cpp
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
terrain/dialogterrainpainting.ui \
|
|
|
|
common/widgetglobalformbuttons.ui
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
../../data/ui_pictures.qrc
|