project_files/hedgewars.pro
changeset 4878 c310bab60b94
parent 4707 1d3b19eabfe7
child 5094 9c3553254100
equal deleted inserted replaced
4877:746ddd590dee 4878:c310bab60b94
     1 TEMPLATE = app
     1 TEMPLATE = app
     2 TARGET = hedgewars
     2 TARGET = hedgewars
     3 DEPENDPATH += ../QTfrontend/
     3 DEPENDPATH += ../QTfrontend/
     4 INCLUDEPATH += ../QTfrontend/
     4 INCLUDEPATH += ../QTfrontend/
       
     5 INCLUDEPATH += /usr/local/include/SDL
       
     6 
     5 DESTDIR = .
     7 DESTDIR = .
     6 
     8 
     7 win32 {
     9 win32 {
     8 	RC_FILE	= ../QTfrontend/res/hedgewars.rc
    10 	RC_FILE	= ../QTfrontend/res/hedgewars.rc
     9 }
    11 }
    20 	../QTfrontend/hedgehogerWidget.h ../QTfrontend/hwconsts.h \
    22 	../QTfrontend/hedgehogerWidget.h ../QTfrontend/hwconsts.h \
    21 	../QTfrontend/hwform.h ../QTfrontend/hwmap.h \
    23 	../QTfrontend/hwform.h ../QTfrontend/hwmap.h \
    22 	../QTfrontend/igbox.h ../QTfrontend/input_ip.h \
    24 	../QTfrontend/igbox.h ../QTfrontend/input_ip.h \
    23 	../QTfrontend/itemNum.h ../QTfrontend/mapContainer.h \
    25 	../QTfrontend/itemNum.h ../QTfrontend/mapContainer.h \
    24 	../QTfrontend/misc.h ../QTfrontend/namegen.h \
    26 	../QTfrontend/misc.h ../QTfrontend/namegen.h \
    25 	../QTfrontend/netregister.h ../QTfrontend/netserver.h \
    27         ../QTfrontend/netregister.h ../QTfrontend/netserver.h \
    26 	../QTfrontend/netserverslist.h ../QTfrontend/netudpserver.h \
    28 	../QTfrontend/netserverslist.h ../QTfrontend/netudpserver.h \
    27 	../QTfrontend/netudpwidget.h ../QTfrontend/newnetclient.h \
    29 	../QTfrontend/netudpwidget.h ../QTfrontend/newnetclient.h \
    28 	../QTfrontend/pages.h ../QTfrontend/playrecordpage.h \
    30 	../QTfrontend/pages.h ../QTfrontend/playrecordpage.h \
    29 	../QTfrontend/predefteams.h ../QTfrontend/proto.h \
    31         ../QTfrontend/proto.h \
    30 	../QTfrontend/sdlkeys.h ../QTfrontend/selectWeapon.h \
    32 	../QTfrontend/sdlkeys.h ../QTfrontend/selectWeapon.h \
    31 	../QTfrontend/statsPage.h ../QTfrontend/tcpBase.h \
    33 	../QTfrontend/statsPage.h ../QTfrontend/tcpBase.h \
    32 	../QTfrontend/team.h ../QTfrontend/teamselect.h \
    34 	../QTfrontend/team.h ../QTfrontend/teamselect.h \
    33 	../QTfrontend/teamselhelper.h ../QTfrontend/togglebutton.h \
    35 	../QTfrontend/teamselhelper.h ../QTfrontend/togglebutton.h \
    34 	../QTfrontend/ui_hwform.h ../QTfrontend/vertScrollArea.h \
    36 	../QTfrontend/ui_hwform.h ../QTfrontend/vertScrollArea.h \
    35 	../QTfrontend/weaponItem.h ../QTfrontend/xfire.h \
    37 	../QTfrontend/weaponItem.h ../QTfrontend/xfire.h \
    36 	../QTfrontend/achievements.h
    38 	../QTfrontend/achievements.h \
       
    39     ../QTfrontend/drawmapwidget.h \
       
    40     ../QTfrontend/drawmapscene.h \
       
    41     ../QTfrontend/qaspectratiolayout.h
    37 
    42 
    38 SOURCES += ../QTfrontend/SDLs.cpp ../QTfrontend/SquareLabel.cpp \
    43 SOURCES += ../QTfrontend/SDLs.cpp ../QTfrontend/SquareLabel.cpp \
    39 	../QTfrontend/about.cpp ../QTfrontend/ammoSchemeModel.cpp \
    44 	../QTfrontend/about.cpp ../QTfrontend/ammoSchemeModel.cpp \
    40 	../QTfrontend/bgwidget.cpp ../QTfrontend/binds.cpp \
    45 	../QTfrontend/bgwidget.cpp ../QTfrontend/binds.cpp \
    41 	../QTfrontend/chatwidget.cpp ../QTfrontend/fpsedit.cpp \
    46 	../QTfrontend/chatwidget.cpp ../QTfrontend/fpsedit.cpp \
    54 	../QTfrontend/selectWeapon.cpp ../QTfrontend/statsPage.cpp \
    59 	../QTfrontend/selectWeapon.cpp ../QTfrontend/statsPage.cpp \
    55 	../QTfrontend/tcpBase.cpp ../QTfrontend/team.cpp \
    60 	../QTfrontend/tcpBase.cpp ../QTfrontend/team.cpp \
    56 	../QTfrontend/teamselect.cpp ../QTfrontend/teamselhelper.cpp \
    61 	../QTfrontend/teamselect.cpp ../QTfrontend/teamselhelper.cpp \
    57 	../QTfrontend/togglebutton.cpp ../QTfrontend/ui_hwform.cpp \
    62 	../QTfrontend/togglebutton.cpp ../QTfrontend/ui_hwform.cpp \
    58 	../QTfrontend/vertScrollArea.cpp ../QTfrontend/weaponItem.cpp \
    63 	../QTfrontend/vertScrollArea.cpp ../QTfrontend/weaponItem.cpp \
    59 	../QTfrontend/achievements.cpp
    64 	../QTfrontend/achievements.cpp \
       
    65     ../QTfrontend/hwconsts.cpp \
       
    66     ../QTfrontend/drawmapwidget.cpp \
       
    67     ../QTfrontend/drawmapscene.cpp \
       
    68     ../QTfrontend/qaspectratiolayout.cpp
    60 
    69 
    61 win32 {
    70 win32 {
    62 	SOURCES += ../QTfrontend/xfire.cpp
    71 	SOURCES += ../QTfrontend/xfire.cpp
    63 }
    72 }
    64 
    73 
    87 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
    96 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
    88 
    97 
    89 RESOURCES += ../QTfrontend/hedgewars.qrc
    98 RESOURCES += ../QTfrontend/hedgewars.qrc
    90 
    99 
    91 !macx {
   100 !macx {
    92 	LIBS += -lSDL -lSDL_Mixer
   101         LIBS += -lSDL -lSDL_mixer
    93 } else {
   102 } else {
    94 	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
   103 	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
    95 	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
   104 	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
    96 	
   105 	
    97 	OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm 
   106 	OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm