project_files/hedgewars.pro
author palewolf
Tue, 06 Apr 2010 20:45:20 +0000
changeset 3313 fbf59d08a395
parent 3285 e73202c9973f
child 3344 b18a166e6ca4
permissions -rw-r--r--
"muerte súbida" duh!
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     1
TEMPLATE = app
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     2
TARGET = hedgewars
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     3
DEPENDPATH += ../QTfrontend/
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     4
INCLUDEPATH += ../QTfrontend/
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     5
DESTDIR = .
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     6
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     7
win32 {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     8
	RC_FILE	= ../QTfrontend/res/hedgewars.rc
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
     9
}
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    10
2525
e6cdc0251cd1 remove the svg dependency
koda
parents: 2523
diff changeset
    11
QT += network
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    12
2546
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    13
HEADERS += ../QTfrontend/KB.h ../QTfrontend/SDLs.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    14
	../QTfrontend/SquareLabel.h ../QTfrontend/about.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    15
	../QTfrontend/ammoSchemeModel.h ../QTfrontend/bgwidget.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    16
	../QTfrontend/binds.h ../QTfrontend/chatwidget.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    17
	../QTfrontend/fpsedit.h ../QTfrontend/frameTeam.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    18
	../QTfrontend/game.h ../QTfrontend/gamecfgwidget.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    19
	../QTfrontend/gameuiconfig.h ../QTfrontend/hats.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    20
	../QTfrontend/hedgehogerWidget.h ../QTfrontend/hwconsts.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    21
	../QTfrontend/hwform.h ../QTfrontend/hwmap.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    22
	../QTfrontend/igbox.h ../QTfrontend/input_ip.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    23
	../QTfrontend/itemNum.h ../QTfrontend/mapContainer.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    24
	../QTfrontend/misc.h ../QTfrontend/namegen.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    25
	../QTfrontend/netregister.h ../QTfrontend/netserver.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    26
	../QTfrontend/netserverslist.h ../QTfrontend/netudpserver.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    27
	../QTfrontend/netudpwidget.h ../QTfrontend/newnetclient.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    28
	../QTfrontend/pages.h ../QTfrontend/playrecordpage.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    29
	../QTfrontend/predefteams.h ../QTfrontend/proto.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    30
	../QTfrontend/sdlkeys.h ../QTfrontend/selectWeapon.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    31
	../QTfrontend/statsPage.h ../QTfrontend/tcpBase.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    32
	../QTfrontend/team.h ../QTfrontend/teamselect.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    33
	../QTfrontend/teamselhelper.h ../QTfrontend/togglebutton.h \
5fa4aa6bb804 fix mac bundle
koda
parents: 2545
diff changeset
    34
	../QTfrontend/ui_hwform.h ../QTfrontend/vertScrollArea.h \
3285
e73202c9973f * give translators their "unfinished" tags back :>
sheepluva
parents: 2822
diff changeset
    35
	../QTfrontend/weaponItem.h ../QTfrontend/xfire.h
2543
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    36
2545
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    37
SOURCES += ../QTfrontend/SDLs.cpp ../QTfrontend/SquareLabel.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    38
	../QTfrontend/about.cpp ../QTfrontend/ammoSchemeModel.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    39
	../QTfrontend/bgwidget.cpp ../QTfrontend/binds.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    40
	../QTfrontend/chatwidget.cpp ../QTfrontend/fpsedit.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    41
	../QTfrontend/frameTeam.cpp ../QTfrontend/game.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    42
	../QTfrontend/gamecfgwidget.cpp ../QTfrontend/gameuiconfig.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    43
	../QTfrontend/hats.cpp ../QTfrontend/hedgehogerWidget.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    44
	../QTfrontend/hwform.cpp ../QTfrontend/hwmap.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    45
	../QTfrontend/igbox.cpp ../QTfrontend/input_ip.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    46
	../QTfrontend/itemNum.cpp ../QTfrontend/main.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    47
	../QTfrontend/mapContainer.cpp ../QTfrontend/misc.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    48
	../QTfrontend/namegen.cpp ../QTfrontend/netregister.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    49
	../QTfrontend/netserver.cpp ../QTfrontend/netserverslist.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    50
	../QTfrontend/netudpserver.cpp ../QTfrontend/netudpwidget.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    51
	../QTfrontend/newnetclient.cpp ../QTfrontend/pages.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    52
	../QTfrontend/playrecordpage.cpp ../QTfrontend/proto.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    53
	../QTfrontend/selectWeapon.cpp ../QTfrontend/statsPage.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    54
	../QTfrontend/tcpBase.cpp ../QTfrontend/team.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    55
	../QTfrontend/teamselect.cpp ../QTfrontend/teamselhelper.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    56
	../QTfrontend/togglebutton.cpp ../QTfrontend/ui_hwform.cpp \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    57
	../QTfrontend/vertScrollArea.cpp ../QTfrontend/weaponItem.cpp \
2822
0533562bc3a4 Engine:
smxx
parents: 2821
diff changeset
    58
0533562bc3a4 Engine:
smxx
parents: 2821
diff changeset
    59
win32 {
0533562bc3a4 Engine:
smxx
parents: 2821
diff changeset
    60
SOURCES += ../QTfrontend/xfire.cpp
0533562bc3a4 Engine:
smxx
parents: 2821
diff changeset
    61
}
2545
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    62
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    63
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    64
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    65
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    66
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    67
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    68
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    69
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    70
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    71
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    72
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    73
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    74
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    75
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    76
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    77
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    78
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    79
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts 	 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    80
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts 	 
2543
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    81
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
bf1da5037433 - lupdate && lrelease
unc0rr
parents: 2525
diff changeset
    82
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    83
RESOURCES += ../QTfrontend/hedgewars.qrc
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    84
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    85
!macx {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    86
	LIBS += -lSDL -lSDL_Mixer
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    87
} else {
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    88
	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    89
	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    90
	
2545
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    91
	OBJECTIVE_SOURCES = ../QTfrontend/*.m ../QTfrontend/*.mm 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    92
	SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    93
	HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    94
		../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    95
		../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    96
		../QTfrontend/SparkleAutoUpdater.h 
853fa5312886 update .pro file, lupdate and smaller italian translation
koda
parents: 2543
diff changeset
    97
	
2522
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    98
	LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
    99
	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
   100
	CONFIG += warn_on x86
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
   101
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
   102
 	#CONFIG += x86 ppc x86_64 ppc64
42986b9ebc74 moves project files to proper directory
koda
parents:
diff changeset
   103
}