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 += .
|
2012-01-28 17:24:19 +00:00
|
|
|
OBJECTS_DIR = ./obj/$$BUILDMODE/
|
|
|
|
MOC_DIR = ./moc/$$BUILDMODE/
|
|
|
|
DESTDIR = ../build/$$BUILDMODE/
|
|
|
|
CONFIG += $$BUILDMODE
|
2011-12-25 21:19:32 +00:00
|
|
|
|
2012-04-09 19:58:08 +00:00
|
|
|
QMAKE_CXXFLAGS_DEBUG += -pg
|
|
|
|
QMAKE_LFLAGS_DEBUG += -pg
|
|
|
|
|
2012-01-28 17:24:19 +00:00
|
|
|
unix:LIBS += -L$$DESTDIR -lpaysages
|
|
|
|
win32:LIBS += $$DESTDIR/libpaysages.a -lDevIL -lILU -lILUT -lglib-2.0 -lgthread-2.0
|
2011-12-25 21:19:32 +00:00
|
|
|
|
2012-01-28 17:24:19 +00:00
|
|
|
HEADERS += $$files(*.h) $$files(../lib_paysages/*.h) $$files(../lib_paysages/shared/*.h)
|
|
|
|
SOURCES += $$files(*.cpp)
|
2012-02-28 13:45:11 +00:00
|
|
|
TRANSLATIONS = ../i18n/paysages_fr.ts
|
|
|
|
|
|
|
|
system(lupdate paysages-qt.pro)
|
|
|
|
system(lrelease $$TRANSLATIONS)
|