mirror of https://github.com/vitalif/openscad
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-ec61d464b74cstl_dim
parent
72886170aa
commit
72513cb5cf
12
openscad.pro
12
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
|
||||
|
|
Loading…
Reference in New Issue