changeset 615:22695de8581c

Add macx-llvm target
author Chris Cannam
date Tue, 03 Jul 2012 13:54:18 +0100
parents 90da5af6a952
children 32b8f32f14a6
files easyhg.pro
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/easyhg.pro	Tue Jul 03 13:25:54 2012 +0100
+++ b/easyhg.pro	Tue Jul 03 13:54:18 2012 +0100
@@ -19,6 +19,11 @@
     QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk
     CONFIG += x86_64
 }
+macx-llvm {
+    CONFIG += x86_64
+    QMAKE_CFLAGS += -mmacosx-version-min=10.6
+    QMAKE_CXXFLAGS += -mmacosx-version-min=10.6
+}
 
 unix {
     DESTDIR = .
@@ -109,8 +114,9 @@
     src/fswatcher.cpp \
     src/findwidget.cpp
 
+
 macx-* {
-    SOURCES += src/common_osx.mm
+    OBJECTIVE_SOURCES += src/common_osx.mm
     LIBS += -framework CoreServices -framework Foundation
     ICON = easyhg-icon.icns
 }