project_files/hedgewars.pro
changeset 2545 853fa5312886
parent 2543 bf1da5037433
child 2546 5fa4aa6bb804
equal deleted inserted replaced
2544:31e38b20c571 2545:853fa5312886
     8 	RC_FILE	= ../QTfrontend/res/hedgewars.rc
     8 	RC_FILE	= ../QTfrontend/res/hedgewars.rc
     9 }
     9 }
    10 
    10 
    11 QT += network
    11 QT += network
    12 
    12 
    13 HEADERS += ../QTfrontend/*.h
    13 HEADERS += ../QTfrontend/KB.h ../QTfrontend/SDLs.h
    14 SOURCES += ../QTfrontend/*.cpp
    14 	../QTfrontend/SquareLabel.h ../QTfrontend/about.h
       
    15 	../QTfrontend/ammoSchemeModel.h ../QTfrontend/bgwidget.h
       
    16 	../QTfrontend/binds.h ../QTfrontend/chatwidget.h
       
    17 	../QTfrontend/fpsedit.h ../QTfrontend/frameTeam.h
       
    18 	../QTfrontend/game.h ../QTfrontend/gamecfgwidget.h
       
    19 	../QTfrontend/gameuiconfig.h ../QTfrontend/hats.h
       
    20 	../QTfrontend/hedgehogerWidget.h ../QTfrontend/hwconsts.h
       
    21 	../QTfrontend/hwform.h ../QTfrontend/hwmap.h
       
    22 	../QTfrontend/igbox.h ../QTfrontend/input_ip.h
       
    23 	../QTfrontend/itemNum.h ../QTfrontend/mapContainer.h
       
    24 	../QTfrontend/misc.h ../QTfrontend/namegen.h
       
    25 	../QTfrontend/netregister.h ../QTfrontend/netserver.h
       
    26 	../QTfrontend/netserverslist.h ../QTfrontend/netudpserver.h
       
    27 	../QTfrontend/netudpwidget.h ../QTfrontend/newnetclient.h
       
    28 	../QTfrontend/pages.h ../QTfrontend/playrecordpage.h
       
    29 	../QTfrontend/predefteams.h ../QTfrontend/proto.h
       
    30 	../QTfrontend/sdlkeys.h ../QTfrontend/selectWeapon.h
       
    31 	../QTfrontend/statsPage.h ../QTfrontend/tcpBase.h
       
    32 	../QTfrontend/team.h ../QTfrontend/teamselect.h
       
    33 	../QTfrontend/teamselhelper.h ../QTfrontend/togglebutton.h
       
    34 	../QTfrontend/ui_hwform.h ../QTfrontend/vertScrollArea.h
       
    35 	../QTfrontend/weaponItem.h 
    15 
    36 
    16 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
    37 SOURCES += ../QTfrontend/SDLs.cpp ../QTfrontend/SquareLabel.cpp \
    17 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
    38 	../QTfrontend/about.cpp ../QTfrontend/ammoSchemeModel.cpp \
    18 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
    39 	../QTfrontend/bgwidget.cpp ../QTfrontend/binds.cpp \
    19 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
    40 	../QTfrontend/chatwidget.cpp ../QTfrontend/fpsedit.cpp \
    20 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts
    41 	../QTfrontend/frameTeam.cpp ../QTfrontend/game.cpp \
    21 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts
    42 	../QTfrontend/gamecfgwidget.cpp ../QTfrontend/gameuiconfig.cpp \
    22 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts
    43 	../QTfrontend/hats.cpp ../QTfrontend/hedgehogerWidget.cpp \
    23 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts
    44 	../QTfrontend/hwform.cpp ../QTfrontend/hwmap.cpp \
    24 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts
    45 	../QTfrontend/igbox.cpp ../QTfrontend/input_ip.cpp \
    25 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts
    46 	../QTfrontend/itemNum.cpp ../QTfrontend/main.cpp \
    26 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
    47 	../QTfrontend/mapContainer.cpp ../QTfrontend/misc.cpp \
    27 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
    48 	../QTfrontend/namegen.cpp ../QTfrontend/netregister.cpp \
    28 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts
    49 	../QTfrontend/netserver.cpp ../QTfrontend/netserverslist.cpp \
    29 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts
    50 	../QTfrontend/netudpserver.cpp ../QTfrontend/netudpwidget.cpp \
    30 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts
    51 	../QTfrontend/newnetclient.cpp ../QTfrontend/pages.cpp \
    31 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
    52 	../QTfrontend/playrecordpage.cpp ../QTfrontend/proto.cpp \
    32 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts
    53 	../QTfrontend/selectWeapon.cpp ../QTfrontend/statsPage.cpp \
    33 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
    54 	../QTfrontend/tcpBase.cpp ../QTfrontend/team.cpp \
       
    55 	../QTfrontend/teamselect.cpp ../QTfrontend/teamselhelper.cpp \
       
    56 	../QTfrontend/togglebutton.cpp ../QTfrontend/ui_hwform.cpp \
       
    57 	../QTfrontend/vertScrollArea.cpp ../QTfrontend/weaponItem.cpp \
       
    58 
       
    59 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts 	 
       
    60 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts 	 
       
    61 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts 	 
       
    62 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts 	 
       
    63 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts 	 
       
    64 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts 	 
       
    65 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts 	 
       
    66 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts 	 
       
    67 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts 	 
       
    68 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts 	 
       
    69 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts 	 
       
    70 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts 	 
       
    71 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts 	 
       
    72 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts 	 
       
    73 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts 	 
       
    74 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts 	 
       
    75 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts 	 
       
    76 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts 	 
    34 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
    77 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
    35 
    78 
    36 RESOURCES += ../QTfrontend/hedgewars.qrc
    79 RESOURCES += ../QTfrontend/hedgewars.qrc
    37 
    80 
    38 !macx {
    81 !macx {
    39 	LIBS += -lSDL -lSDL_Mixer
    82 	LIBS += -lSDL -lSDL_Mixer
    40 } else {
    83 } else {
    41 	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
    84 	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
    42 	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
    85 	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
    43 	
    86 	
    44 	OBJECTIVE_SOURCES= ../QTfrontend/*.m ../QTfrontend/*.mm
    87 	OBJECTIVE_SOURCES = ../QTfrontend/*.m ../QTfrontend/*.mm 
    45 
    88 	SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp
       
    89 	HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \
       
    90 		../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \
       
    91 		../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \
       
    92 		../QTfrontend/SparkleAutoUpdater.h 
       
    93 	
    46 	LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
    94 	LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
    47 	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
    95 	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
    48 	CONFIG += warn_on x86
    96 	CONFIG += warn_on x86
    49 
    97 
    50  	#CONFIG += x86 ppc x86_64 ppc64
    98  	#CONFIG += x86 ppc x86_64 ppc64