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
stl_dim
kintel 2010-02-02 01:01:58 +00:00
parent 72886170aa
commit 72513cb5cf
1 changed files with 10 additions and 2 deletions

View File

@ -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