2011-12-13 04:22:33 +04:00
|
|
|
# Environment variables which can be set to specify library locations:
|
|
|
|
# MPIRDIR
|
|
|
|
# MPFRDIR
|
|
|
|
# BOOSTDIR
|
|
|
|
# CGALDIR
|
2012-08-19 17:10:33 +04:00
|
|
|
# EIGENDIR
|
2011-12-13 04:22:33 +04:00
|
|
|
# GLEWDIR
|
|
|
|
# OPENCSGDIR
|
2011-12-15 07:59:15 +04:00
|
|
|
# OPENSCAD_LIBRARIES
|
2011-12-13 04:22:33 +04:00
|
|
|
#
|
2011-12-17 23:17:11 +04:00
|
|
|
# Please see the 'Buildling' sections of the OpenSCAD user manual
|
|
|
|
# for updated tips & workarounds.
|
|
|
|
#
|
|
|
|
# http://en.wikibooks.org/wiki/OpenSCAD_User_Manual
|
2011-11-06 17:28:35 +04:00
|
|
|
|
|
|
|
isEmpty(QT_VERSION) {
|
|
|
|
error("Please use qmake for Qt 4 (probably qmake-qt4)")
|
|
|
|
}
|
|
|
|
|
2011-01-22 00:39:34 +03:00
|
|
|
# Auto-include config_<variant>.pri if the VARIANT variable is give on the
|
|
|
|
# command-line, e.g. qmake VARIANT=mybuild
|
|
|
|
!isEmpty(VARIANT) {
|
|
|
|
message("Variant: $${VARIANT}")
|
|
|
|
exists(config_$${VARIANT}.pri) {
|
|
|
|
message("Including config_$${VARIANT}.pri")
|
|
|
|
include(config_$${VARIANT}.pri)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-10-30 05:15:25 +04:00
|
|
|
# Populate VERSION, VERSION_YEAR, VERSION_MONTH, VERSION_DATE from system date
|
|
|
|
include(version.pri)
|
|
|
|
|
2011-10-16 00:48:41 +04:00
|
|
|
# for debugging link problems (use nmake -f Makefile.Release > log.txt)
|
2011-10-24 07:41:03 +04:00
|
|
|
win32 {
|
2011-12-15 07:59:15 +04:00
|
|
|
# QMAKE_LFLAGS += -VERBOSE
|
2011-10-11 06:46:27 +04:00
|
|
|
}
|
2011-11-08 06:37:43 +04:00
|
|
|
debug: DEFINES += DEBUG
|
2011-10-11 06:46:27 +04:00
|
|
|
|
2009-12-13 03:22:07 +03:00
|
|
|
TEMPLATE = app
|
2009-06-20 16:10:55 +04:00
|
|
|
|
2010-01-30 07:27:59 +03:00
|
|
|
INCLUDEPATH += src
|
|
|
|
|
2011-12-15 07:59:15 +04:00
|
|
|
# Handle custom library location.
|
|
|
|
# Used when manually installing 3rd party libraries
|
|
|
|
OPENSCAD_LIBDIR = $$(OPENSCAD_LIBRARIES)
|
|
|
|
!isEmpty(OPENSCAD_LIBDIR) {
|
2011-12-17 05:33:31 +04:00
|
|
|
QMAKE_INCDIR_QT = $$OPENSCAD_LIBDIR/include $$QMAKE_INCDIR_QT
|
2011-12-17 11:56:24 +04:00
|
|
|
QMAKE_LIBDIR = $$OPENSCAD_LIBDIR/lib $$QMAKE_LIBDIR
|
2011-12-15 07:59:15 +04:00
|
|
|
}
|
2011-12-15 08:17:04 +04:00
|
|
|
else {
|
|
|
|
macx {
|
|
|
|
# Default to MacPorts on Mac OS X
|
|
|
|
QMAKE_INCDIR = /opt/local/include
|
|
|
|
QMAKE_LIBDIR = /opt/local/lib
|
|
|
|
}
|
|
|
|
}
|
2011-12-15 07:59:15 +04:00
|
|
|
|
2009-10-25 23:35:03 +03:00
|
|
|
macx {
|
2010-05-07 20:24:26 +04:00
|
|
|
# add CONFIG+=deploy to the qmake command-line to make a deployment build
|
|
|
|
deploy {
|
|
|
|
message("Building deployment version")
|
2010-05-08 07:57:31 +04:00
|
|
|
CONFIG += x86 x86_64
|
2010-05-07 20:24:26 +04:00
|
|
|
}
|
|
|
|
|
2009-12-13 03:22:07 +03:00
|
|
|
TARGET = OpenSCAD
|
2010-01-30 07:27:59 +03:00
|
|
|
ICON = icons/OpenSCAD.icns
|
2009-12-13 03:22:07 +03:00
|
|
|
QMAKE_INFO_PLIST = Info.plist
|
2010-02-02 04:01:58 +03:00
|
|
|
APP_RESOURCES.path = Contents/Resources
|
|
|
|
APP_RESOURCES.files = OpenSCAD.sdef
|
|
|
|
QMAKE_BUNDLE_DATA += APP_RESOURCES
|
|
|
|
LIBS += -framework Carbon
|
2009-10-25 23:35:03 +03:00
|
|
|
}
|
|
|
|
else {
|
2009-12-13 03:22:07 +03:00
|
|
|
TARGET = openscad
|
2009-10-25 23:35:03 +03:00
|
|
|
}
|
|
|
|
|
2010-01-16 00:08:18 +03:00
|
|
|
win32 {
|
|
|
|
RC_FILE = openscad_win32.rc
|
|
|
|
}
|
|
|
|
|
2009-12-12 00:38:28 +03:00
|
|
|
CONFIG += qt
|
2009-12-13 03:22:07 +03:00
|
|
|
QT += opengl
|
2009-06-20 16:10:55 +04:00
|
|
|
|
2012-06-03 18:16:40 +04:00
|
|
|
# see http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
|
|
|
|
# and https://github.com/openscad/openscad/pull/119
|
|
|
|
# ( QT += opengl does not automatically link glu on some DSO systems. )
|
|
|
|
unix:!macx {
|
2012-07-16 03:13:50 +04:00
|
|
|
QMAKE_LIBS_OPENGL *= -lGLU
|
|
|
|
QMAKE_LIBS_OPENGL *= -lX11
|
2011-12-17 07:03:10 +04:00
|
|
|
}
|
|
|
|
|
2012-01-03 21:21:28 +04:00
|
|
|
netbsd* {
|
2012-12-23 04:00:48 +04:00
|
|
|
QMAKE_LFLAGS += -L/usr/X11R7/lib
|
2012-01-03 21:21:28 +04:00
|
|
|
QMAKE_LFLAGS += -Wl,-R/usr/X11R7/lib
|
|
|
|
QMAKE_LFLAGS += -Wl,-R/usr/pkg/lib
|
|
|
|
!isEmpty(OPENSCAD_LIBDIR) {
|
2012-12-23 04:00:48 +04:00
|
|
|
QMAKE_CFLAGS = -I$$OPENSCAD_LIBDIR/include $$QMAKE_CFLAGS
|
|
|
|
QMAKE_CXXFLAGS = -I$$OPENSCAD_LIBDIR/include $$QMAKE_CXXFLAGS
|
|
|
|
QMAKE_LFLAGS = -L$$OPENSCAD_LIBDIR/lib $$QMAKE_LFLAGS
|
|
|
|
QMAKE_LFLAGS = -Wl,-R$$OPENSCAD_LIBDIR/lib $$QMAKE_LFLAGS
|
2012-01-03 21:21:28 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-30 00:26:59 +04:00
|
|
|
# Prevent LD_LIBRARY_PATH problems when running the openscad binary
|
|
|
|
# on systems where uni-build-dependencies.sh was used.
|
2012-12-30 01:27:44 +04:00
|
|
|
# Will not affect 'normal' builds.
|
2012-12-30 00:26:59 +04:00
|
|
|
!isEmpty(OPENSCAD_LIBDIR) {
|
|
|
|
unix:!macx {
|
|
|
|
QMAKE_LFLAGS = -Wl,-R$$OPENSCAD_LIBDIR/lib $$QMAKE_LFLAGS
|
2012-12-30 01:27:44 +04:00
|
|
|
# need /lib64 beause GLEW installs itself there on 64 bit machines
|
|
|
|
QMAKE_LFLAGS = -Wl,-R$$OPENSCAD_LIBDIR/lib64 $$QMAKE_LFLAGS
|
2012-12-30 00:26:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-12-17 23:17:11 +04:00
|
|
|
# See Dec 2011 OpenSCAD mailing list, re: CGAL/GCC bugs.
|
|
|
|
*g++* {
|
|
|
|
QMAKE_CXXFLAGS *= -fno-strict-aliasing
|
|
|
|
}
|
|
|
|
|
2012-07-21 00:23:16 +04:00
|
|
|
*clang* {
|
|
|
|
# disable enormous amount of warnings about CGAL
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-variable
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-function
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-c++11-extensions
|
2012-07-21 00:51:40 +04:00
|
|
|
# might want to actually turn this on once in a while
|
|
|
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare
|
2012-07-21 00:23:16 +04:00
|
|
|
}
|
|
|
|
|
2012-12-30 03:13:16 +04:00
|
|
|
CONFIG(skip-version-check) {
|
2012-12-30 03:14:13 +04:00
|
|
|
# force the use of outdated libraries
|
2012-12-30 03:13:16 +04:00
|
|
|
DEFINES += OPENSCAD_SKIP_VERSION_CHECK
|
|
|
|
}
|
|
|
|
|
2009-12-13 03:22:07 +03:00
|
|
|
# Application configuration
|
2010-02-01 03:26:04 +03:00
|
|
|
macx:CONFIG += mdi
|
2009-12-13 03:22:07 +03:00
|
|
|
CONFIG += cgal
|
|
|
|
CONFIG += opencsg
|
2011-01-22 00:06:50 +03:00
|
|
|
CONFIG += boost
|
2012-08-19 02:14:17 +04:00
|
|
|
CONFIG += eigen
|
2010-04-03 07:05:36 +04:00
|
|
|
|
|
|
|
#Uncomment the following line to enable QCodeEdit
|
|
|
|
#CONFIG += qcodeedit
|
2009-10-28 23:11:56 +03:00
|
|
|
|
2009-12-13 03:22:07 +03:00
|
|
|
mdi {
|
|
|
|
DEFINES += ENABLE_MDI
|
2009-10-25 23:35:03 +03:00
|
|
|
}
|
2009-12-13 03:22:07 +03:00
|
|
|
|
2012-07-13 05:40:07 +04:00
|
|
|
DEFINES += USE_PROGRESSWIDGET
|
2010-02-10 18:13:12 +03:00
|
|
|
|
2011-12-15 07:59:15 +04:00
|
|
|
include(common.pri)
|
2010-01-10 16:20:00 +03:00
|
|
|
|
2012-07-16 00:11:04 +04:00
|
|
|
# mingw has to come after other items so OBJECT_DIRS will work properly
|
2012-07-15 20:47:18 +04:00
|
|
|
CONFIG(mingw-cross-env) {
|
|
|
|
include(mingw-cross-env.pri)
|
|
|
|
}
|
|
|
|
|
2011-12-15 07:59:15 +04:00
|
|
|
win32 {
|
|
|
|
FLEXSOURCES = src/lexer.l
|
|
|
|
BISONSOURCES = src/parser.y
|
|
|
|
} else {
|
|
|
|
LEXSOURCES += src/lexer.l
|
|
|
|
YACCSOURCES += src/parser.y
|
|
|
|
}
|
2010-01-30 07:27:59 +03:00
|
|
|
|
2011-12-15 08:17:04 +04:00
|
|
|
RESOURCES = openscad.qrc
|
|
|
|
|
2010-01-30 07:27:59 +03:00
|
|
|
FORMS += src/MainWindow.ui \
|
2011-12-09 06:43:06 +04:00
|
|
|
src/Preferences.ui \
|
2012-07-13 05:40:07 +04:00
|
|
|
src/OpenCSGWarningDialog.ui \
|
2012-08-04 20:49:45 +04:00
|
|
|
src/AboutDialog.ui \
|
2012-07-13 05:40:07 +04:00
|
|
|
src/ProgressWidget.ui
|
2010-01-30 07:27:59 +03:00
|
|
|
|
2012-07-13 05:40:07 +04:00
|
|
|
HEADERS += src/version_check.h \
|
|
|
|
src/ProgressWidget.h \
|
|
|
|
src/parsersettings.h \
|
2011-12-25 01:02:37 +04:00
|
|
|
src/renderer.h \
|
2011-12-12 02:45:14 +04:00
|
|
|
src/rendersettings.h \
|
2011-08-04 02:45:40 +04:00
|
|
|
src/ThrownTogetherRenderer.h \
|
2011-07-30 23:29:40 +04:00
|
|
|
src/CGAL_renderer.h \
|
2011-04-09 08:51:58 +04:00
|
|
|
src/OGL_helper.h \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/GLView.h \
|
|
|
|
src/MainWindow.h \
|
|
|
|
src/Preferences.h \
|
2011-12-09 06:43:06 +04:00
|
|
|
src/OpenCSGWarningDialog.h \
|
2012-08-04 20:49:45 +04:00
|
|
|
src/AboutDialog.h \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/builtin.h \
|
|
|
|
src/context.h \
|
|
|
|
src/csgterm.h \
|
2011-12-26 22:15:51 +04:00
|
|
|
src/csgtermnormalizer.h \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/dxfdata.h \
|
|
|
|
src/dxfdim.h \
|
|
|
|
src/dxftess.h \
|
|
|
|
src/export.h \
|
|
|
|
src/expression.h \
|
|
|
|
src/function.h \
|
|
|
|
src/grid.h \
|
|
|
|
src/highlighter.h \
|
|
|
|
src/module.h \
|
|
|
|
src/node.h \
|
2010-03-02 21:22:31 +03:00
|
|
|
src/csgnode.h \
|
2011-09-30 05:11:28 +04:00
|
|
|
src/linearextrudenode.h \
|
|
|
|
src/rotateextrudenode.h \
|
2010-03-02 21:22:31 +03:00
|
|
|
src/projectionnode.h \
|
2011-09-06 16:57:24 +04:00
|
|
|
src/cgaladvnode.h \
|
2010-03-02 21:22:31 +03:00
|
|
|
src/importnode.h \
|
2010-03-28 19:57:39 +04:00
|
|
|
src/transformnode.h \
|
2011-09-03 01:35:10 +04:00
|
|
|
src/colornode.h \
|
2010-03-28 19:57:39 +04:00
|
|
|
src/rendernode.h \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/openscad.h \
|
2011-09-04 02:03:16 +04:00
|
|
|
src/handle_dep.h \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/polyset.h \
|
|
|
|
src/printutils.h \
|
2010-02-09 16:48:09 +03:00
|
|
|
src/value.h \
|
2010-04-03 07:05:14 +04:00
|
|
|
src/progress.h \
|
2010-03-02 21:22:31 +03:00
|
|
|
src/editor.h \
|
|
|
|
src/visitor.h \
|
|
|
|
src/state.h \
|
|
|
|
src/traverser.h \
|
|
|
|
src/nodecache.h \
|
2010-03-19 06:07:38 +03:00
|
|
|
src/nodedumper.h \
|
2012-02-04 04:43:53 +04:00
|
|
|
src/ModuleCache.h \
|
2011-09-11 11:10:31 +04:00
|
|
|
src/PolySetCache.h \
|
2011-07-31 03:58:51 +04:00
|
|
|
src/PolySetEvaluator.h \
|
|
|
|
src/CSGTermEvaluator.h \
|
2011-04-12 22:35:44 +04:00
|
|
|
src/Tree.h \
|
2011-08-04 06:58:17 +04:00
|
|
|
src/mathc99.h \
|
2011-09-11 13:10:48 +04:00
|
|
|
src/memory.h \
|
2011-10-01 03:36:30 +04:00
|
|
|
src/linalg.h \
|
|
|
|
src/system-gl.h \
|
2012-10-28 17:56:23 +04:00
|
|
|
src/stl-utils.h \
|
2013-01-24 07:01:34 +04:00
|
|
|
src/svg.h \
|
|
|
|
\
|
|
|
|
src/lodepng.h \
|
|
|
|
src/OffscreenView.h \
|
|
|
|
src/fbo.h \
|
2013-01-24 07:10:24 +04:00
|
|
|
src/imageutils.h \
|
2013-01-24 07:35:04 +04:00
|
|
|
src/system-gl.h \
|
|
|
|
src/CsgInfo.h
|
2010-01-30 07:27:59 +03:00
|
|
|
|
2012-07-13 05:40:07 +04:00
|
|
|
SOURCES += src/version_check.cc \
|
|
|
|
src/ProgressWidget.cc \
|
|
|
|
src/mathc99.cc \
|
|
|
|
src/linalg.cc \
|
2011-09-04 02:03:16 +04:00
|
|
|
src/handle_dep.cc \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/value.cc \
|
|
|
|
src/expr.cc \
|
|
|
|
src/func.cc \
|
|
|
|
src/module.cc \
|
|
|
|
src/node.cc \
|
|
|
|
src/context.cc \
|
|
|
|
src/csgterm.cc \
|
2011-12-26 22:15:51 +04:00
|
|
|
src/csgtermnormalizer.cc \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/polyset.cc \
|
|
|
|
src/csgops.cc \
|
|
|
|
src/transform.cc \
|
2011-09-03 01:35:10 +04:00
|
|
|
src/color.cc \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/primitives.cc \
|
2010-01-30 10:41:55 +03:00
|
|
|
src/projection.cc \
|
2010-02-20 17:37:20 +03:00
|
|
|
src/cgaladv.cc \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/surface.cc \
|
|
|
|
src/control.cc \
|
|
|
|
src/render.cc \
|
|
|
|
src/dxfdata.cc \
|
|
|
|
src/dxfdim.cc \
|
2011-09-30 05:11:28 +04:00
|
|
|
src/linearextrude.cc \
|
|
|
|
src/rotateextrude.cc \
|
2010-01-30 07:27:59 +03:00
|
|
|
src/printutils.cc \
|
2011-12-26 19:34:47 +04:00
|
|
|
src/progress.cc \
|
2011-12-26 19:37:00 +04:00
|
|
|
src/parsersettings.cc \
|
2012-08-22 08:22:35 +04:00
|
|
|
src/stl-utils.cc \
|
2011-12-26 19:34:47 +04:00
|
|
|
\
|
|
|
|
src/nodedumper.cc \
|
|
|
|
src/traverser.cc \
|
|
|
|
src/PolySetEvaluator.cc \
|
2012-02-04 04:43:53 +04:00
|
|
|
src/ModuleCache.cc \
|
2011-12-26 19:34:47 +04:00
|
|
|
src/PolySetCache.cc \
|
|
|
|
src/Tree.cc \
|
|
|
|
\
|
|
|
|
src/rendersettings.cc \
|
|
|
|
src/highlighter.cc \
|
2010-02-09 16:48:09 +03:00
|
|
|
src/Preferences.cc \
|
2011-12-09 06:43:06 +04:00
|
|
|
src/OpenCSGWarningDialog.cc \
|
2010-04-03 07:17:54 +04:00
|
|
|
src/editor.cc \
|
2011-12-26 19:34:47 +04:00
|
|
|
src/glview.cc \
|
|
|
|
\
|
|
|
|
src/builtin.cc \
|
|
|
|
src/export.cc \
|
2013-01-24 07:35:04 +04:00
|
|
|
src/export_png.cc \
|
2011-12-26 19:34:47 +04:00
|
|
|
src/import.cc \
|
|
|
|
src/renderer.cc \
|
|
|
|
src/ThrownTogetherRenderer.cc \
|
|
|
|
src/dxftess.cc \
|
|
|
|
src/dxftess-glu.cc \
|
|
|
|
src/dxftess-cgal.cc \
|
2011-07-31 03:58:51 +04:00
|
|
|
src/CSGTermEvaluator.cc \
|
2012-10-28 17:56:23 +04:00
|
|
|
src/svg.cc \
|
2013-01-24 07:01:34 +04:00
|
|
|
src/OffscreenView.cc \
|
|
|
|
src/fbo.cc \
|
2013-01-24 07:10:24 +04:00
|
|
|
src/system-gl.cc \
|
|
|
|
src/imageutils.cc \
|
2013-01-24 07:13:45 +04:00
|
|
|
src/lodepng.cpp \
|
2011-12-26 19:34:47 +04:00
|
|
|
\
|
|
|
|
src/openscad.cc \
|
|
|
|
src/mainwin.cc
|
2011-09-01 06:09:06 +04:00
|
|
|
|
2013-01-24 07:01:34 +04:00
|
|
|
unix:!macx {
|
|
|
|
SOURCES += src/imageutils-lodepng.cc
|
2013-01-26 04:36:55 +04:00
|
|
|
SOURCES += src/OffscreenContextGLX.cc
|
2013-01-24 07:01:34 +04:00
|
|
|
}
|
|
|
|
macx {
|
|
|
|
SOURCES += src/imageutils-macosx.cc
|
2013-01-26 04:36:55 +04:00
|
|
|
SOURCES += src/OffscreenContextCGL.mm
|
2013-01-24 07:01:34 +04:00
|
|
|
}
|
|
|
|
win32* {
|
|
|
|
SOURCES += src/imageutils-lodepng.cc
|
2013-01-26 04:36:55 +04:00
|
|
|
SOURCES += src/OffscreenContextWGL.cc
|
2013-01-24 07:01:34 +04:00
|
|
|
}
|
|
|
|
|
2011-12-15 08:17:04 +04:00
|
|
|
opencsg {
|
|
|
|
HEADERS += src/OpenCSGRenderer.h
|
|
|
|
SOURCES += src/OpenCSGRenderer.cc
|
|
|
|
}
|
|
|
|
|
2011-09-01 06:09:06 +04:00
|
|
|
cgal {
|
|
|
|
HEADERS += src/cgal.h \
|
|
|
|
src/cgalfwd.h \
|
2011-09-08 00:04:59 +04:00
|
|
|
src/cgalutils.h \
|
2011-09-01 06:09:06 +04:00
|
|
|
src/CGALEvaluator.h \
|
2011-09-11 12:51:55 +04:00
|
|
|
src/CGALCache.h \
|
2011-09-01 06:09:06 +04:00
|
|
|
src/PolySetCGALEvaluator.h \
|
2011-09-04 03:57:26 +04:00
|
|
|
src/CGALRenderer.h \
|
2011-12-26 02:00:30 +04:00
|
|
|
src/CGAL_Nef_polyhedron.h \
|
|
|
|
src/cgalworker.h
|
2011-09-01 06:09:06 +04:00
|
|
|
|
2011-09-08 00:04:59 +04:00
|
|
|
SOURCES += src/cgalutils.cc \
|
|
|
|
src/CGALEvaluator.cc \
|
2011-09-01 06:09:06 +04:00
|
|
|
src/PolySetCGALEvaluator.cc \
|
2011-09-11 12:51:55 +04:00
|
|
|
src/CGALCache.cc \
|
2011-09-04 03:57:26 +04:00
|
|
|
src/CGALRenderer.cc \
|
2011-09-01 06:09:06 +04:00
|
|
|
src/CGAL_Nef_polyhedron.cc \
|
|
|
|
src/CGAL_Nef_polyhedron_DxfData.cc \
|
2011-12-26 02:00:30 +04:00
|
|
|
src/cgaladv_minkowski2.cc \
|
|
|
|
src/cgalworker.cc
|
2011-09-01 06:09:06 +04:00
|
|
|
}
|
2009-06-20 16:10:55 +04:00
|
|
|
|
2010-02-02 04:01:58 +03:00
|
|
|
macx {
|
|
|
|
HEADERS += src/AppleEvents.h \
|
|
|
|
src/EventFilter.h
|
|
|
|
SOURCES += src/AppleEvents.cc
|
|
|
|
}
|
|
|
|
|
2011-11-03 18:13:33 +04:00
|
|
|
isEmpty(PREFIX):PREFIX = /usr/local
|
|
|
|
|
|
|
|
target.path = $$PREFIX/bin/
|
2009-07-20 21:45:39 +04:00
|
|
|
INSTALLS += target
|
2010-02-27 13:38:13 +03:00
|
|
|
|
2011-11-03 18:13:33 +04:00
|
|
|
examples.path = $$PREFIX/share/openscad/examples/
|
2010-02-27 13:38:13 +03:00
|
|
|
examples.files = examples/*
|
|
|
|
INSTALLS += examples
|
|
|
|
|
2011-11-03 18:13:33 +04:00
|
|
|
libraries.path = $$PREFIX/share/openscad/libraries/
|
2010-02-27 13:38:13 +03:00
|
|
|
libraries.files = libraries/*
|
|
|
|
INSTALLS += libraries
|
2012-01-05 03:00:29 +04:00
|
|
|
|
|
|
|
applications.path = $$PREFIX/share/applications
|
|
|
|
applications.files = icons/openscad.desktop
|
|
|
|
INSTALLS += applications
|
|
|
|
|
|
|
|
icons.path = $$PREFIX/share/pixmaps
|
|
|
|
icons.files = icons/openscad.png
|
|
|
|
INSTALLS += icons
|