Fix compilation issues under MinGW
Support for saving LZ4 compressed index files.
Added test
Includes and signed warning removal.
Merge branch 'master' of github.com:mariusmuja/flann
Actually link the example to the library...
Merge branch 'seth_old' of https://github.com/seth-planet/flann
Fix outdated onstants names in the manual
Add optional builds of tests and docs

Similar to the present BUILD_EXAMPLES this commit introduces
options for test and doc builds

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Allow user supplied CUDA_NVCC_FLAGS

Respect enviromental CUDA_NVCC_FLAGS.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Fix compilation with nvcc-5.5

As reported in https://github.com/mariusmuja/flann/issues/133
we need to declare the functions for device and host.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Allow installation into lib64 instead of lib

This is needed for multilib system where /usr/lib isn't a symlink to /usr/lib64.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Support custom docdir

Allow user to specify a custom location for docs. On some Linux distributions
the docs are at /usr/share/doc/pkg-version rather then the unversioned dir.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Merge pull request #145 from jlec/test

Add optional builds of tests and docs
Merge pull request #147 from jlec/cuda

Allow user supplied CUDA_NVCC_FLAGS
Merge pull request #148 from jlec/cuda2

Fix compilation with nvcc-5.5
Merge pull request #149 from jlec/multilib

Fix compilation with nvcc-5.5
Merge pull request #150 from jlec/docdir

Support custom docdir
Pick centers in KMeans++ with a probability proportional to their distance^2, instead of simple distance, to previous centers
As some processed distances are already ^2, use template to select whether or not we have to ^2 in KMeanspp