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/
|
2012-06-02 09:46:24 +00:00
|
|
|
CONFIG -= release
|
2012-01-28 17:24:19 +00:00
|
|
|
CONFIG += $$BUILDMODE
|
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
|
2012-01-28 17:24:19 +00:00
|
|
|
unix:LIBS += -L$$DESTDIR -lpaysages
|
2012-04-16 20:43:01 +00:00
|
|
|
win32:LIBS += ../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
|
|
|
|
|
2012-07-01 13:27:57 +00:00
|
|
|
#system(lupdate paysages-qt.pro)
|
|
|
|
#system(lrelease $$TRANSLATIONS)
|