project_files/hedgewars.pro
changeset 3353 a767dd3786b5
parent 3344 b18a166e6ca4
child 3918 916ed485daed
--- a/project_files/hedgewars.pro	Sat Apr 17 04:59:10 2010 +0000
+++ b/project_files/hedgewars.pro	Sat Apr 17 08:30:34 2010 +0000
@@ -59,7 +59,7 @@
 	../QTfrontend/achievements.cpp
 
 win32 {
-SOURCES += ../QTfrontend/xfire.cpp
+	SOURCES += ../QTfrontend/xfire.cpp
 }
 
 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts 	 
@@ -87,17 +87,18 @@
 !macx {
 	LIBS += -lSDL -lSDL_Mixer
 } else {
-	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
-	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
+	QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
+	QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
 	
-	OBJECTIVE_SOURCES = ../QTfrontend/*.m ../QTfrontend/*.mm 
-	SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp
+	OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm 
+	SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \
+			../../build/QTfrontend/hwconsts.cpp
 	HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \
 		../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \
 		../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \
 		../QTfrontend/SparkleAutoUpdater.h 
 	
-	LIBS += -framework IOKit -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
+	LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED 
 	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
 	CONFIG += warn_on x86