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
|
|
|
HEADERS += $$files(*.h) $$files(../rendering/*.h) $$files(../rendering/shared/*.h) $$files(../exploring/*.h)
|
2012-01-28 17:24:19 +00:00
|
|
|
SOURCES += $$files(*.cpp)
|
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)
|