project_files/hedgewars.pro
changeset 7799 a88a02c19a5b
parent 7769 1661680c6b59
child 7897 5e7c0810f365
equal deleted inserted replaced
7798:2f7d22dc329c 7799:a88a02c19a5b
     7 INCLUDEPATH += ../QTfrontend/ui/widget
     7 INCLUDEPATH += ../QTfrontend/ui/widget
     8 INCLUDEPATH += ../QTfrontend/ui/page
     8 INCLUDEPATH += ../QTfrontend/ui/page
     9 INCLUDEPATH += ../QTfrontend/ui/dialog
     9 INCLUDEPATH += ../QTfrontend/ui/dialog
    10 INCLUDEPATH += ../QTfrontend/net
    10 INCLUDEPATH += ../QTfrontend/net
    11 INCLUDEPATH += ../QTfrontend/util
    11 INCLUDEPATH += ../QTfrontend/util
    12 INCLUDEPATH += /usr/local/include/SDL
       
    13 INCLUDEPATH += /usr/include/SDL
       
    14 INCLUDEPATH += ../misc/quazip/
    12 INCLUDEPATH += ../misc/quazip/
    15 
    13 
    16 DESTDIR = .
    14 DESTDIR = ../bin
    17 
       
    18 win32 {
       
    19     RC_FILE = ../QTfrontend/hedgewars.rc
       
    20 }
       
    21 
    15 
    22 QT += network
    16 QT += network
    23 QT += webkit
    17 QT += webkit
    24 
    18 
    25 HEADERS += ../QTfrontend/model/ThemeModel.h \
    19 HEADERS += ../QTfrontend/model/ThemeModel.h \
   201     ../QTfrontend/ui/dialog/upload_video.cpp \
   195     ../QTfrontend/ui/dialog/upload_video.cpp \
   202     ../QTfrontend/campaign.cpp \
   196     ../QTfrontend/campaign.cpp \
   203     ../QTfrontend/model/playerslistmodel.cpp
   197     ../QTfrontend/model/playerslistmodel.cpp
   204 
   198 
   205 
   199 
   206 win32 {
   200 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \
   207     SOURCES += ../QTfrontend/xfire.cpp
   201     ../share/hedgewars/Data/Locale/hedgewars_bg.ts \
   208 }
   202     ../share/hedgewars/Data/Locale/hedgewars_cs.ts \
   209 
   203     ../share/hedgewars/Data/Locale/hedgewars_de.ts \ 
   210 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts 
   204     ../share/hedgewars/Data/Locale/hedgewars_en.ts \ 
   211 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts 	 
   205     ../share/hedgewars/Data/Locale/hedgewars_es.ts \
   212 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts 	 
   206     ../share/hedgewars/Data/Locale/hedgewars_fi.ts \
   213 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts 	 
   207     ../share/hedgewars/Data/Locale/hedgewars_fr.ts \ 
   214 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts 	 
   208     ../share/hedgewars/Data/Locale/hedgewars_hu.ts \ 
   215 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts 	 
   209     ../share/hedgewars/Data/Locale/hedgewars_it.ts \ 
   216 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts 	 
   210     ../share/hedgewars/Data/Locale/hedgewars_ja.ts \ 
   217 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts 	 
   211     ../share/hedgewars/Data/Locale/hedgewars_ko.ts \ 
   218 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_hu.ts 	 
   212     ../share/hedgewars/Data/Locale/hedgewars_lt.ts \
   219 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts 	 
   213     ../share/hedgewars/Data/Locale/hedgewars_nl.ts \ 
   220 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts 	 
   214     ../share/hedgewars/Data/Locale/hedgewars_pl.ts \ 
   221 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ko.ts 	 
   215     ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \
   222 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_lt.ts
   216     ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \
   223 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_nl.ts 	 
   217     ../share/hedgewars/Data/Locale/hedgewars_ru.ts \
   224 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts 	 
   218     ../share/hedgewars/Data/Locale/hedgewars_sk.ts \
   225 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts 	 
   219     ../share/hedgewars/Data/Locale/hedgewars_sv.ts \
   226 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts 	 
   220     ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \
   227 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts 	 
   221     ../share/hedgewars/Data/Locale/hedgewars_uk.ts \
   228 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts 	 
   222     ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \
   229 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts 	 
   223     ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
   230 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts 	 
       
   231 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts 	 
       
   232 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts 	 
       
   233 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
       
   234 
   224 
   235 RESOURCES += ../QTfrontend/hedgewars.qrc
   225 RESOURCES += ../QTfrontend/hedgewars.qrc
   236 
   226 
   237 LIBS += -L../bin -lquazip
   227 LIBS += -L../bin -lquazip
   238 
   228 
   239 !macx {
   229 macx {
   240     LIBS += -lSDL -lSDL_mixer
       
   241 } else {
       
   242     QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
   230     QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
   243     QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
   231     QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
   244 
   232 
   245     OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm
   233     OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm
   246     SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \
   234     SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \
   254     INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
   242     INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
   255     CONFIG += warn_on x86
   243     CONFIG += warn_on x86
   256     #CONFIG += x86 ppc x86_64 ppc64
   244     #CONFIG += x86 ppc x86_64 ppc64
   257 }
   245 }
   258 
   246 
       
   247 win32 {
       
   248     RC_FILE = ../QTfrontend/hedgewars.rc
       
   249     SOURCES += ../QTfrontend/xfire.cpp
       
   250     INCLUDEPATH += ../misc/winutils/include
       
   251     LIBS += -L../misc/winutils/lib
       
   252 }
       
   253 
       
   254 !macx {
       
   255     LIBS += -lSDL -lSDL_mixer
       
   256     !win32 {
       
   257         INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL
       
   258     }
       
   259 }
       
   260 
   259 FORMS +=
   261 FORMS +=