Skip to content

Commit

Permalink
Experimental Apple Event hack; you can now do 'tell application "Open…
Browse files Browse the repository at this point in the history
…SCAD" to reload'

git-svn-id: http://svn.clifford.at/openscad/trunk@409 b57f626f-c46c-0410-a088-ec61d464b74c
  • Loading branch information
kintel committed Feb 2, 2010
1 parent 7288617 commit 72513cb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions openscad.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down Expand Up @@ -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

0 comments on commit 72513cb

Please sign in to comment.