QTfrontend/hedgewars.pro
changeset 2394 0f8de781fc34
parent 2093 485e084cedc4
child 2395 d01d3bf3e1de
equal deleted inserted replaced
2393:068632066f80 2394:0f8de781fc34
     7 win32 {
     7 win32 {
     8 	RC_FILE	= ./res/hedgewars.rc
     8 	RC_FILE	= ./res/hedgewars.rc
     9 }
     9 }
    10 
    10 
    11 macx{
    11 macx{
    12 	CONFIG += x86 ppc
    12 	CONFIG += x86
       
    13  	#CONFIG += x86 ppc x86_64 ppc64
    13 }
    14 }
    14 
    15 
    15 QT += network svg xml
    16 QT += network svg xml
    16 
    17 
    17 HEADERS += 	binds.h \
    18 HEADERS += 	KB.h SDLs.h SquareLabel.h \
    18 		game.h \
    19 		about.h ammoSchemeModel.h \
    19 		hwform.h \
    20 		bgwidget.h binds.h \
    20 		sdlkeys.h \
    21 		chatwidget.h \
    21 		team.h \
    22 		fpsedit.h frameTeam.h \
    22 		teamselect.h \
    23 		game.h gamecfgwidget.h gameuiconfig.h \
    23 		teamselhelper.h \
    24 		hats.h hedgehogerWidget.h hwconsts.h hwform.h hwmap.h \
    24 		frameTeam.h \
    25 		igbox.h input_ip.h itemNum.h \
       
    26 		mapContainer.h misc.h \
       
    27 		namegen.h netregister.h netserver.h netserverslist.h \
       
    28 		netudpserver.h netudpwidget.h newnetclient.h \
       
    29 		pages.h playrecordpage.h predefteams.h proto.h \
       
    30 		sdlkeys.h selectWeapon.h statsPage.h \
       
    31 		tcpBase.h team.h teamselect.h teamselhelper.h togglebutton.h \
       
    32 		ui_hwform.h \
    25 		vertScrollArea.h \
    33 		vertScrollArea.h \
    26 		gameuiconfig.h \
    34 		weaponItem.h
    27 		ui_hwform.h \
       
    28 		gamecfgwidget.h \
       
    29 		predefteams.h \
       
    30 		pages.h \
       
    31 		SquareLabel.h \
       
    32 		hedgehogerWidget.h \
       
    33 		hwmap.h \
       
    34 		mapContainer.h \
       
    35 		tcpBase.h \
       
    36 		about.h \
       
    37 		KB.h \
       
    38 		proto.h \
       
    39 		fpsedit.h \
       
    40 		netserver.h \
       
    41 		newnetclient.h \
       
    42 		netudpserver.h \
       
    43 		netudpwidget.h \
       
    44 		netserverslist.h \
       
    45 		chatwidget.h \
       
    46 		SDLs.h \
       
    47 		playrecordpage.h \
       
    48 		hwconsts.h \
       
    49 		selectWeapon.h \
       
    50 		itemNum.h \
       
    51 		input_ip.h \
       
    52 		igbox.h \
       
    53 		weaponItem.h \
       
    54 		statsPage.h \
       
    55 		misc.h \
       
    56 		ammoSchemeModel.h \
       
    57 		togglebutton.h \
       
    58 		namegen.h \
       
    59 		netregister.h \
       
    60 		hats.h
       
    61 
    35 
    62 SOURCES +=	binds.cpp \
    36 
    63 		game.cpp \
    37 SOURCES +=	SDLs.cpp SquareLabel.cpp \
    64 		main.cpp \
    38 		about.cpp ammoSchemeModel.cpp \
    65 		hwform.cpp \
    39 		bgwidget.cpp binds.cpp \
    66 		team.cpp \
    40 		chatwidget.cpp \
    67 		teamselect.cpp \
    41 		fpsedit.cpp frameTeam.cpp \
    68 		teamselhelper.cpp \
    42 		game.cpp gamecfgwidget.cpp gameuiconfig.cpp \
    69 		frameTeam.cpp \
    43 		hats.cpp hedgehogerWidget.cpp hwconsts.cpp hwform.cpp hwmap.cpp \
       
    44 		igbox.cpp input_ip.cpp itemNum.cpp \
       
    45 		main.cpp mapContainer.cpp misc.cpp \
       
    46 		namegen.cpp netregister.cpp netserver.cpp netserverslist.cpp \
       
    47 		netudpserver.cpp netudpwidget.cpp newnetclient.cpp \
       
    48 		pages.cpp playrecordpage.cpp proto.cpp \
       
    49 		selectWeapon.cpp statsPage.cpp \
       
    50 		tcpBase.cpp team.cpp teamselect.cpp teamselhelper.cpp togglebutton.cpp \
       
    51 		ui_hwform.cpp \
    70 		vertScrollArea.cpp \
    52 		vertScrollArea.cpp \
    71 		gameuiconfig.cpp \
    53 		weaponItem.cpp
    72 		ui_hwform.cpp \
       
    73 		gamecfgwidget.cpp \
       
    74 		pages.cpp \
       
    75 		SquareLabel.cpp \
       
    76 		hedgehogerWidget.cpp \
       
    77 		hwmap.cpp \
       
    78 		mapContainer.cpp \
       
    79 		tcpBase.cpp \
       
    80 		about.cpp \
       
    81 		proto.cpp \
       
    82 		fpsedit.cpp \
       
    83 		netserver.cpp \
       
    84 		newnetclient.cpp \
       
    85 		netudpserver.cpp \
       
    86 		netudpwidget.cpp \
       
    87 		netserverslist.cpp \
       
    88 		chatwidget.cpp \
       
    89 		SDLs.cpp \
       
    90 		playrecordpage.cpp \
       
    91 		hwconsts.cpp \
       
    92 		selectWeapon.cpp \
       
    93 		itemNum.cpp \
       
    94 		input_ip.cpp \
       
    95 		igbox.cpp \
       
    96 		weaponItem.cpp \
       
    97 		statsPage.cpp \
       
    98 		misc.cpp \
       
    99 		ammoSchemeModel.cpp \
       
   100 		togglebutton.cpp \
       
   101 		namegen.cpp \
       
   102 		netregister.cpp \
       
   103 		hats.cpp
       
   104 
    54 
   105 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
    55 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
   106 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
    56 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
   107 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
    57 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts
   108 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
    58 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts
   123 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
    73 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
   124 
    74 
   125 RESOURCES += hedgewars.qrc
    75 RESOURCES += hedgewars.qrc
   126 
    76 
   127 !macx{
    77 !macx{
   128 	LIBS += libSDL
    78 	LIBS += -lSDL -lopenalbridge
   129 }else{
    79 }else{
   130 	LIBS += -framework SDL -framework SDL_mixer -framework Ogg -framework Vorbis
    80 	LIBS += -framework SDL -framework OpenAL -framework Ogg -framework Vorbis -lopenalbridge -framework Sparkle
       
    81 	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
       
    82 	SOURCES += AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm
       
    83 	HEADERS += AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h
       
    84 	
   131 }
    85 }