Added a .pro inside ann_1.1.1 directory to compile ANN library both under win-VisualStudio and win-mingw. In order to do this has been necessary modify ANN.h, inside ann_1.1.1\include\ANN. Changes goes from line 74 to line 78; an #ifdef has been added to detect windows+mingw config...Of course I'm not so sure it works fine...

This commit is contained in:
Paolo Cignoni cignoni 2009-06-11 17:30:08 +00:00
parent bb34be3302
commit 83a82dfe5f

View File

@ -8,7 +8,7 @@ DESTDIR = $$ANNDIR/lib
DLLDESTDIR = $$ANNDIR/lib
LIBS += -L$$ANNDIR/lib -lANN
#win32-g++: DEFINES += _ANN_WIN_MINGW
win32-g++: DEFINES += _ANN_WIN_MINGW
HEADERS = kd_tree.h \
kd_split.h \