summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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