meshlab/src/shared.pri
Paolo Cignoni cignoni 14eb1715ec removed the use of the Eigen lib from the default.
- switched to gcc 4.2 on mac.
2008-12-11 00:18:58 +00:00

37 lines
888 B
Plaintext

# this is the common include for all the plugins
CONFIG *= debug_and_release
TEMPLATE = lib
CONFIG += plugin
VCGDIR = ../../../../vcglib
GLEWDIR = ../../../../code/lib/glew
GLEWCODE = $$GLEWDIR/src/glew.c
DEFINES *= GLEW_STATIC
# uncomment to try Eigen
#DEFINES += VCG_USE_EIGEN
#CONFIG += warn_off
INCLUDEPATH *= ../.. $$VCGDIR $$GLEWDIR/include
mac:QMAKE_CXX=g++-4.2
# the following line is needed to avoid mismatch between
# the awful min/max macros of windows and the limits max
win32:DEFINES += NOMINMAX
# the following line is to hide the hundred of warnings about the deprecated
# old printf are all around the code
win32-msvc2005:DEFINES += _CRT_SECURE_NO_DEPRECATE
DESTDIR = ../../meshlab/plugins
contains(TEMPLATE,lib) {
CONFIG(debug, debug|release) {
unix:TARGET = $$member(TARGET, 0)_debug
else:TARGET = $$member(TARGET, 0)d
}
}