meshlab/src/shared.pri
2020-01-27 18:16:12 +01:00

39 lines
1014 B
Plaintext

# This is the common include for all the plugins
include (general.pri)
TEMPLATE = lib
CONFIG += plugin
QT += opengl
QT += xml
QT += xmlpatterns
QT += script
mac:LIBS += $$MESHLAB_DISTRIB_DIRECTORY/lib/libcommon.dylib
win32-msvc:LIBS += $$MESHLAB_DISTRIB_DIRECTORY/lib/common.lib -lopengl32 -lGLU32
win32-g++:LIBS += -lcommon -lopengl32 -lGLU32
linux-g++:LIBS += -lcommon -lGL -lGLU
win32-msvc:DEFINES += GLEW_STATIC _USE_MATH_DEFINES
INCLUDEPATH *= ../.. $$VCGDIR $$EIGENDIR
!CONFIG(system_glew): INCLUDEPATH *= $$GLEWDIR/include
DEPENDPATH += ../.. $$VCGDIR
CONFIG(release,debug | release){
# Uncomment the following line to disable assert in mingw
#DEFINES += NDEBUG
}
DESTDIR = $$MESHLAB_DISTRIB_DIRECTORY/plugins
# uncomment in you local copy only in emergency cases.
# We should never be too permissive
# win32-g++:QMAKE_CXXFLAGS += -fpermissive
contains(TEMPLATE,lib) {
CONFIG(debug, debug|release) {
unix:TARGET = $$member(TARGET, 0)_debug
else:TARGET = $$member(TARGET, 0)d
}
}