cleaned up the build pro of CSG filter

This commit is contained in:
Paolo Cignoni cignoni 2010-10-14 15:47:46 +00:00
parent ccecb05123
commit e47892eb6f
4 changed files with 5686 additions and 8 deletions

2280
src/external/inc/macx/gmp-5.0.1/gmp.h vendored Normal file

File diff suppressed because it is too large Load Diff

3388
src/external/inc/macx/gmp-5.0.1/gmpxx.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1 +1,14 @@
copy here the lib compiled for the system with the name specified in the directory name according to the QT system configuration names
copy here the lib compiled for the system with the name specified in the directory name according to the QT system configuration names
Some compilation notes
------ libgmp ------
For mac osx 10.6 with meshlab 32 bitÉ
After extracting the archive
./configure CFLAGS="-mmacosx-version-min=10.5 -arch i386" LDFLAGS="-mmacosx-version-min=10.5 -arch i386" ABI=32 --enable-cxx --enable-static --with-pic
make
cp .libs/*.a ../../external/lib/macx/

View File

@ -5,13 +5,10 @@ HEADERS += filter_csg.h \
SOURCES += filter_csg.cpp
TARGET = filter_csg
TEMPLATE = lib
QT += opengl
CONFIG += plugin
QMAKE_INCDIR += gmp-5.0.1/
macx:INCLUDEPATH += ../../external/inc/macx/gmp-5.0.1
macx:LIBS += ../../external/lib/macx/libgmpxx.a ../../external/lib/macx/libgmp.a
win32-g++:LIBS += ../../external/lib/win32-gcc/libgmpxx.a ../../external/lib/win32-gcc/libgmp.a
#QMAKE_LIBS += -lgmpxx -lgmp
#QMAKE_LIBDIR += gmp-5.0.1/.libs/
OBJECTS += gmp-5.0.1/.libs/libgmpxx.a gmp-5.0.1/.libs/libgmp.a