summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-02 01:01:58 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-02 01:01:58 (GMT)
commit72513cb5cfa5bb7c11f873e796fa2054e8e3018e (patch)
treece25e379011ec52c50a30f77281cb44186c2e166
parent72886170aa4c25a34eb6f22d1740f381462e1fea (diff)
Experimental Apple Event hack; you can now do 'tell application "OpenSCAD" to reload'
git-svn-id: http://svn.clifford.at/openscad/trunk@409 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--openscad.pro12
1 files changed, 10 insertions, 2 deletions
diff --git a/openscad.pro b/openscad.pro
index 554dd0d..af5d17e 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -13,7 +13,11 @@ macx {
TARGET = OpenSCAD
ICON = icons/OpenSCAD.icns
QMAKE_INFO_PLIST = Info.plist
+ APP_RESOURCES.path = Contents/Resources
+ APP_RESOURCES.files = OpenSCAD.sdef
+ QMAKE_BUNDLE_DATA += APP_RESOURCES
#CONFIG += x86 ppc
+ LIBS += -framework Carbon
}
else {
TARGET = openscad
@@ -84,8 +88,6 @@ HEADERS += src/CGAL_renderer.h \
src/printutils.h \
src/value.h
-macx: HEADERS += src/EventFilter.h
-
SOURCES += src/openscad.cc \
src/mainwin.cc \
src/glview.cc \
@@ -118,5 +120,11 @@ SOURCES += src/openscad.cc \
src/nef2dxf.cc \
src/Preferences.cc
+macx {
+ HEADERS += src/AppleEvents.h \
+ src/EventFilter.h
+ SOURCES += src/AppleEvents.cc
+}
+
target.path = /usr/local/bin/
INSTALLS += target
contact: Jan Huwald // Impressum